Hi Scott,
I have just downloaded the fixed version. In my opinion it is still not
correct because it only solves
the problem with XMLReaders given from the user to xalan.
The default behavior is still the same. Code which works fine with other
Trax implementations (e.g. Saxon)
fail with Xalan because of dynamic validation. This problem have not been
there with the release 2.1.0.
For XML Schemas dynamic validation makes sense but not for DTDs. May be
that it is a idea for xerces to
distinguish between dynamic validation for XML Schemas and DTDs.
Another possible way is to provide the direct validation/dynamic feature
to the user
as Attribute (via setAttribute(java.lang.String name, java.lang.Object
value)) .
In my opinion it is too early to switch on dynamic validation as default.
I have attched a simple example which works fine with 2.1.0 but now it
fails.
Regards
Thomas
error message: org.xml.sax.SAXParseException: Element type "dmodule" must
be declared
(See attached file: X2H5.java)(See attached file: StylesheetCache.java)
X2H5.java
StylesheetCache.java