xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Glavassevich (JIRA)" <xerces-j-...@xml.apache.org>
Subject [jira] [Assigned] (XERCESJ-1516) Delay loading of Eclipse PsychoPath classes until an XML Schema 1.1 processor is used.
Date Tue, 31 May 2011 03:16:47 GMT

     [ https://issues.apache.org/jira/browse/XERCESJ-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Michael Glavassevich reassigned XERCESJ-1516:

    Assignee: Michael Glavassevich

> 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 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-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org

View raw message