ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: How to set the XSLT task XML parser to non-validating
Date Tue, 23 Sep 2003 15:21:54 GMT
Have you tried extracting the DTD from the jar and using a nested
<xmlcatalog>?. Could help...


Jan

> -----Original Message-----
> From: Matt MacDonald [mailto:mattm@mitre.org]
> Sent: Tuesday, September 23, 2003 5:16 PM
> To: user@ant.apache.org
> Subject: How to set the XSLT task XML parser to non-validating
> 
> 
> 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 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message