[jira] [Updated] (XERCESJ-1516) Delay loading of Eclipse PsychoPath classes until an XML Schema 1.1 processor is used.
[ https://issues.apache.org/jira/browse/XERCESJ-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mukul Gandhi updated XERCESJ-1516: -- Fix Version/s: 2.12.0 > Delay loading of Eclipse PsychoPath classes until an XML Schema 1.1 processor > is used. > -- > > Key: XERCESJ-1516 > URL: https://issues.apache.org/jira/browse/XERCESJ-1516 > Project: Xerces2-J > Issue Type: Improvement > Components: XML Schema 1.1 Structures >Affects Versions: 2.11.0 >Reporter: Michael Glavassevich >Assignee: Michael Glavassevich >Priority: Minor > Fix For: 2.12.0 > > > An XSDTypeAlternativeTraverser is always created by the XSDHandler, > regardless of whether we're doing XML Schema 1.1 processing. This causes us > to load Eclipse PsychoPath even when it's not going to be used. By only > creating an XSDTypeAlternativeTraverser in XML Schema 1.1 mode we can avoid > loading PsychoPath classes in XML Schema 1.0 mode. > This should allow people to continue using Xerces' XML Schema 1.0 processor > without having to include PsychoPath on their class path. With Xerces-J > 2.11.0 they would get the following stack trace without the jar: > Exception in thread "main" java.lang.NoClassDefFoundError: > org/eclipse/wst/xml/xpath2/processor/XPathParserException > at org.apache.xerces.impl.xs.traversers.XSDHandler.createTraversers(Unknown > Source) > at > org.apache.xerces.impl.xs.traversers.XSDHandler.prepareForTraverse(Unknown > Source) > at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown > Source) > ... -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org
[jira] [Updated] (XERCESJ-1516) Delay loading of Eclipse PsychoPath classes until an XML Schema 1.1 processor is used.
[ https://issues.apache.org/jira/browse/XERCESJ-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Glavassevich updated XERCESJ-1516: -- Description: An XSDTypeAlternativeTraverser is always created by the XSDHandler, regardless of whether we're doing XML Schema 1.1 processing. This causes us to load Eclipse PsychoPath even when it's not going to be used. By only creating an XSDTypeAlternativeTraverser in XML Schema 1.1 mode we can avoid loading PsychoPath classes in XML Schema 1.0 mode. This should allow people to continue using Xerces' XML Schema 1.0 processor without having to include PsychoPath on their class path. With Xerces-J 2.11.0 they would get the following stack trace without the jar: Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/wst/xml/xpath2/processor/XPathParserException at org.apache.xerces.impl.xs.traversers.XSDHandler.createTraversers(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.prepareForTraverse(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) ... was: An XSDTypeAlternativeTraverser is always created by the XSDHandler, regardless of whether we're doing XML Schema 1.1 processing. This causes us to load Eclipse PsychoPath even when it's not going to be used. By only creating an XSDTypeAlternativeTraverser in XML Schema 1.1 mode we can avoid loading PsychoPath classes in XML Schema 1.0 mode. This should allow people to continue using Xerces without having to include PsychoPath on their class path. With Xerces-J 2.11.0 they would get the following stack trace without the jar: Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/wst/xml/xpath2/processor/XPathParserException at org.apache.xerces.impl.xs.traversers.XSDHandler.createTraversers(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.prepareForTraverse(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) ... > Delay loading of Eclipse PsychoPath classes until an XML Schema 1.1 processor > is used. > -- > > Key: XERCESJ-1516 > URL: https://issues.apache.org/jira/browse/XERCESJ-1516 > Project: Xerces2-J > Issue Type: Improvement > Components: XML Schema 1.1 Structures >Affects Versions: 2.11.0 >Reporter: Michael Glavassevich >Assignee: Michael Glavassevich >Priority: Minor > > An XSDTypeAlternativeTraverser is always created by the XSDHandler, > regardless of whether we're doing XML Schema 1.1 processing. This causes us > to load Eclipse PsychoPath even when it's not going to be used. By only > creating an XSDTypeAlternativeTraverser in XML Schema 1.1 mode we can avoid > loading PsychoPath classes in XML Schema 1.0 mode. > This should allow people to continue using Xerces' XML Schema 1.0 processor > without having to include PsychoPath on their class path. With Xerces-J > 2.11.0 they would get the following stack trace without the jar: > Exception in thread "main" java.lang.NoClassDefFoundError: > org/eclipse/wst/xml/xpath2/processor/XPathParserException > at org.apache.xerces.impl.xs.traversers.XSDHandler.createTraversers(Unknown > Source) > at > org.apache.xerces.impl.xs.traversers.XSDHandler.prepareForTraverse(Unknown > Source) > at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown > Source) > ... -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org
[jira] [Updated] (XERCESJ-1516) Delay loading of Eclipse PsychoPath classes until an XML Schema 1.1 processor is used.
[ https://issues.apache.org/jira/browse/XERCESJ-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Glavassevich updated XERCESJ-1516: -- Description: An XSDTypeAlternativeTraverser is always created by the XSDHandler, regardless of whether we're doing XML Schema 1.1 processing. This causes us to load Eclipse PsychoPath even when it's not going to be used. By only creating an XSDTypeAlternativeTraverser in XML Schema 1.1 mode we can avoid loading PsychoPath classes in XML Schema 1.0 mode. This should allow people to continue using Xerces without having to include PsychoPath on their class path. With Xerces-J 2.11.0 they would get the following stack trace without the jar: Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/wst/xml/xpath2/processor/XPathParserException at org.apache.xerces.impl.xs.traversers.XSDHandler.createTraversers(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.prepareForTraverse(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) ... was: An XSDTypeAlternativeTraverser is always created by the XSDHandler, regardless of whether we're doing XML Schema 1.1 processing. This causes us to load Eclipse PsychoPath even when it's not going to be used. By only creating an XSDTypeAlternativeTraverser in XML Schema 1.1 mode we can avoid loading PsychoPath classes in XML Schema 1.0 mode. This should allow people to continue using Xerces without having to include PsychoPath on their class path. With Xerces-J 2.11.0 they would get the following stack trace without the jar: Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/wst/xml/xpath2/processor/XPathParserException at org.apache.xerces.impl.xs.traversers.XSDHandler.createTraversers(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.prepareForTraverse(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) ... > Delay loading of Eclipse PsychoPath classes until an XML Schema 1.1 processor > is used. > -- > > Key: XERCESJ-1516 > URL: https://issues.apache.org/jira/browse/XERCESJ-1516 > Project: Xerces2-J > Issue Type: Improvement > Components: XML Schema 1.1 Structures >Affects Versions: 2.11.0 >Reporter: Michael Glavassevich >Priority: Minor > > An XSDTypeAlternativeTraverser is always created by the XSDHandler, > regardless of whether we're doing XML Schema 1.1 processing. This causes us > to load Eclipse PsychoPath even when it's not going to be used. By only > creating an XSDTypeAlternativeTraverser in XML Schema 1.1 mode we can avoid > loading PsychoPath classes in XML Schema 1.0 mode. > This should allow people to continue using Xerces without having to include > PsychoPath on their class path. With Xerces-J 2.11.0 they would get the > following stack trace without the jar: > Exception in thread "main" java.lang.NoClassDefFoundError: > org/eclipse/wst/xml/xpath2/processor/XPathParserException > at org.apache.xerces.impl.xs.traversers.XSDHandler.createTraversers(Unknown > Source) > at > org.apache.xerces.impl.xs.traversers.XSDHandler.prepareForTraverse(Unknown > Source) > at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown > Source) > ... -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org