You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matt MacDonald <ma...@mitre.org> on 2003/09/22 21:16:27 UTC
How to turn off XML valdiation using Maven, Jelly ant:xslt task?
Hi,
I have a XML document from our COTS portal tool that contains a DOCTYPE
declaration that looks like the following:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE DisplayProfile SYSTEM "jar://resources/psdp.dtd">
Notice the URI: 'jar://resources/psdp.dtd'
When I try to use the ant:xslt task to apply a stylesheet to this XML
document I get the following error:
Fatal Error! java.net.MalformedURLException: no !/ in spec Cause:
java.net.MalformedURLException: no !/ in spec
I know the URI in the doctype is not a valid Java URL so how do I set
the XML parser in Maven, Jelly, Ant to be non-validating?
Or does anyone have another suggestion? I'd really like to use the xslt
task if at all possible.
-thanks
-matt
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org