Hi Bruce, XMLTask is using JAXP to read the XML document, and the process of parsing actually adds these default attributes in. Then (obviously) they get written out. I don't know of a means to turn this function off. I guess it may be possible to do this in a different underlying parser library. So if you want to keep the DTD reference in your document, the easiest way around this is to reference a 'dummy' local copy of the DTD via <xmlcatalog>. That way the DTD reference remains for your final application, but during the XMLTask work the 'proper' DTD doesn't get loaded/referred to. Does that make sense ? Brian Bruce Thompson wrote:
-- Brian Agnew http://www.oopsconsultancy.com OOPS Consultancy Ltd brian @ oopsconsultancy.com Tel: +44 (0)7720 397526 Fax: +44 (0)20 8682 0012 |
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Xmltask-users mailing list Xmltask-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xmltask-users