BeanXmlParser fails when woodstock is the underlying parser
-----------------------------------------------------------
Key: WELD-876
URL: https://issues.jboss.org/browse/WELD-876
Project: Weld
Issue Type: Bug
Reporter: Stuart Douglas
Priority: Minor
BeansXmlParser has the following code:
try
{
parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage",
"http://www.w3.org/2001/XMLSchema");
parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource",
loadXsds());
}
catch (IllegalArgumentException e)
{
// No op, we just don't validate the XML
}
However, the actual exception thrown (according to the javadoc) is a
SAXNotRecognizedException or a SAXNotSupportedException, which means that if
the underlying SAX impl does not support those properties then parsing will
fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues