Thanks everyone for your suggestions and help
-matt
[EMAIL PROTECTED] wrote:
Mmm, seems you�re right. Then the only way I can see is editing the xml files.
- extract the DTD from the jar
- use <replace> task for replacing SYSTEM "jar://resources/psdp.dtd"
with
PUBLIC "-//PSDP" "psdf.dtd"
and use the <xmlcatalog> with these infos
Jan
-----Original Message----- From: Matt MacDonald [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 5:40 PM To: Ant Users List Subject: Re: How to set the XSLT task XML parser to non-validating
Could you elaborate a little? I thought <xmlcatalog> could only be used for PUBLIC identifier's.
-matt
[EMAIL PROTECTED] wrote:
to this XMLHave you tried extracting the DTD from the jar and using a nested <xmlcatalog>?. Could help...
Jan
-----Original Message----- From: Matt MacDonald [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 5:16 PM To: [EMAIL PROTECTED] 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
how do I setdocument 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
---------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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
