[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: mystery #1: document() without validation
> Can I force Xalan's implementation of document() to instance a > /non-validating/ parser? > Xalan supports the JAXP interface. It will probably load whatever parser is identified by the javax.xml.parsers.SAXParser system property. If you want to be more specific, you can write a URIResolver, which will be called to process the URI passed to the document() function. Your URIResolver can return a SAXSource object which contains a parser; the XSLT processor will use this parser to process the supplied document. This allows you to pre-configure the parser with the options you want, for example switching validation on or off, and your code should work with any JAXP-conformant XSLT processor. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|