[jboss-jira] [JBoss JIRA] Reopened: (JBXB-112) Failed to create a new SAX parser

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Fri Oct 26 01:20:01 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBXB-112?page=all ]

Thomas Diesler reopened JBXB-112:
---------------------------------

             
 There are more occurances of this. I actually found 4, only one of them is fixed.

Caused by: java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
        at javax.xml.parsers.SAXParser.isXIncludeAware(SAXParser.java:511)
        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:204)
        ... 24 more


> Failed to create a new SAX parser
> ---------------------------------
>
>                 Key: JBXB-112
>                 URL: http://jira.jboss.com/jira/browse/JBXB-112
>             Project: JBoss XML Binding (JBossXB)
>          Issue Type: Bug
>    Affects Versions: JBossXB-2.0.0.CR4
>            Reporter: Alexey Loubyansky
>         Assigned To: Alexey Loubyansky
>             Fix For: JBossXB-2.0.0.CR5
>
>
> package org.jboss.xb.binding.parser.sax;
> public class SaxJBossXBParser
>    public SaxJBossXBParser()
>       throws JBossXBException
>    {
> ...
>  parser = saxFactory.newSAXParser();
>          log.debug("Created parser: "+parser
>                + ", isNamespaceAware: "+parser.isNamespaceAware()
>                + ", isValidating: "+parser.isValidating()
>                + ", isXIncludeAware: "+parser.isXIncludeAware()
>                );
> This is the javadoc for isXIncludeAware:
> boolean javax.xml.parsers.SAXParser.isXIncludeAware()
> Get the XInclude processing mode for this parser.
> See Also:
> SAXParserFactory.setXIncludeAware(boolean)
> Returns:
> the return value of the SAXParserFactory.isXIncludeAware() when this parser was created from factory.
> Throws:
> UnsupportedOperationException For backward compatibility, when implementations for earlier versions of JAXP is used, this exception will be thrown.
> Since:
> 1.5
> Either we should not log it or catch and ignore the exception in XB.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list