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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to