You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2011/05/31 05:16:47 UTC

[jira] [Created] (XERCESJ-1516) Delay loading of Eclipse PsychoPath classes until an XML Schema 1.1 processor is used.

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


[jira] [Resolved] (XERCESJ-1516) Delay loading of Eclipse PsychoPath classes until an XML Schema 1.1 processor is used.

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich resolved XERCESJ-1516.
-------------------------------------------

    Resolution: Fixed

Fixed in SVN rev 1129476.

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


[jira] [Assigned] (XERCESJ-1516) Delay loading of Eclipse PsychoPath classes until an XML Schema 1.1 processor is used.

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ 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


[jira] [Updated] (XERCESJ-1516) Delay loading of Eclipse PsychoPath classes until an XML Schema 1.1 processor is used.

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ 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-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] [Updated] (XERCESJ-1516) Delay loading of Eclipse PsychoPath classes until an XML Schema 1.1 processor is used.

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ 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-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org