As Arnaud mentioned in a previous post, if you absolutely don't want
XML 1.1 support you can override the default configuration [1]. This is
fairly simple to accomplish and doesn't require you to change any of your
code. There are other parser configurations (besides the default) included
with the distribution which you can choose to use instead, so you don't
need to write one yourself.


Excellent. Thanks. I had figured out how to do this by changing the code and recompiling, but I'd rather not do that if I don't have to, and it looks like maybe I don't have to.. That page does says, "Moreover, the DOM and SAX parsers created using the JAXP interfaces will use the specified parser configuration transparently and without need to call additional methods to set the parser configuration." What about SAX parsers created using the SAX XMLReaderFactory class rather than JAXP? Are they also set up with the relevant parser configuration?
--


Elliotte Rusty Harold
[EMAIL PROTECTED]
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to