[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: mystery #1: document() without validation

Subject: RE: mystery #1: document() without validation
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Sat, 13 Apr 2002 16:38:10 +0100
saxparser parse 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.