[jboss-jira] [JBoss JIRA] Created: (JBXB-112) Failed to create a new SAX parser
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Mon Oct 15 06:03:03 EDT 2007
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