The metadata builder implementations no longer hard
code the SAX parser class (this was done to avoid
conflicts with JAXP version in the build system).
By default, the SAX parser set up by JAXP will be used
in all JDOM based implementations (you can set JAXP SAX
class by
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl,
for example). The user can still override the JAXP
settings by configuring the builder implementation via
the MetaDataBuilder interface. Setting:
builder.setProperty(SAX_PARSER,
"org.apache.crimson.parser.XMLReaderImpl");
will set the Crimson SAX parser and override the JAXP
defaults.
XML validation can be similarly controlled by setting
builder.setProperty(XML_VALIDATION, "true");
Logged In: YES
user_id=175239
this change note applies to JBossMX 1.1 development branch