ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Ivashin <>
Subject Disable loading of DTD in <xslt> task
Date Fri, 06 Jul 2007 08:10:21 GMT
Hello all!

  I have a XML document with <DOCTYPE> section:
  <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
  When I try process this document with <xslt> task, it fails with ConnectException
because is not accessible.
  How can I prevent XSLT processor from validating of XML document? Or may be from loading
  external DTDs.

  I know how to set such features for Xerces, but in <xslt> task I can only specifiy
Xalan's features.

  Any help is appreciated!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message