[EMAIL PROTECTED] wrote:
>
> It's constantly a problem for Xalan processing that people pass in DOMs
> where setNamespaceAware(true) was not called on the factory. Why is this
> false by default?
For backward compatibility with JAXP 1.0. Here's the history... first
there was SAX 1.0 which had API to control namespace conformance. This
was added in JAXP 1.0 with the setNamespaceAware(boolean) method, but
the JAXP 1.0 spec said the default value was _false_. Then SAX 2.0 came
along and had a different default value for its "namespaces" feature
which controls the same thing. Then JAXP 1.1 came along which had to
support SAX 2.0 _and_ be backward compatible with apps written to JAXP
1.0. That way JAXP 1.0 apps would still run on JAXP 1.1 systems. At
least this is my understanding.
-Edwin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]