[
https://issues.jboss.org/browse/WELD-876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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/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