You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Edwin Goei <ed...@sun.com> on 2001/11/08 21:04:32 UTC

Xerces1,2 proposals: one w/ potential incompatible change

Hi all,

I did not get any comments when I posted this as a response to a Xerces
1 thread, but this is really an issue that covers both Xerces1 and 2, so
I am posting this as a separate thread.

Here are the two proposals:

  1) Update the SAX2 classes to the latest bugfix release
     "sax2-r2pre2".  See http://sax.sourceforge.net for more info.

  2) Change the default value of the feature
     "http://apache.org/xml/features/validation/schema" from true to
     false.

Of these #2 may be the most controversial as it may break existing
applications.  Currently, instantiating a DOMParser or SAXParser
directly or via JAXP and turning on validation (and namespaces) will
also cause XMLSchema validation to occur.  Before Xerces supported
XMLSchema, only DTD validation would occur.  One reason for this change
is that the future maintenance release of JSR-63, AKA JAXP 1.2, will
probably require that XMLSchema validation _not_ occur by default
to be backward compatible with previous JAXP versions.

Also see postings starting with
http://marc.theaimsgroup.com/?l=xerces-j-dev&m=100344687731013&w=2 for
more info.

Comments?

-Edwin

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org