JavaAndXML

Xerces Parser

  1. "format-pretty-print" LSSerializer parameter is not yet implemented (until Xerces-J 2.7.1)

    • So, with Xerces I can't serialize XML in pretty format, when the XML document uses namespaces. (I used XMLBeans, ...)

  2. Document.getElementById does not work!!! They say the document should be validated against XML Schemas and make sure the validation feature and the schema feature are turned on before you parse a document.

    • But, I can't get it work. (finally, I resort to DOM4J..)