]
Stuart Douglas resolved WELD-876.
---------------------------------
Assignee: Stuart Douglas
Fix Version/s: 1.1.2.Final
Resolution: Done
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
Assignee: Stuart Douglas
Priority: Minor
Fix For: 1.1.2.Final
BeansXmlParser has the following code:
try
{
parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLa...;,
"http://www.w3.org/2001/XMLSchema");
parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSo...;,
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: