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 ji...@apache.org on 2004/04/25 03:21:53 UTC

[jira] Updated: (XERCESJ-877) XInclude processing not working properly

The following issue has been updated:

    Updater: Michael Glavassevich (mailto:mrglavas@ca.ibm.com)
       Date: Sat, 24 Apr 2004 6:20 PM
    Changes:
             assignee changed from Xerces-J Developers Mailing List
             description changed from When processing XML files containing XIncludes with Saxon6_5_3 and Xerces-
2_6_0, I am getting the following message:


java  -
Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilder
FactoryImpl 
-
Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl 
-
Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.X
IncludeParserConfiguration 
com.icl.saxon.StyleSheet -o out in preprocess.xsl

java.lang.ArrayIndexOutOfBoundsException: 20
        at org.apache.xerces.xinclude.XIncludeHandler.reset(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.resetCommon(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.xinclude.XIncludeHandler.handleIncludeElement
(Unknown Source)
        at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown 
Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement
(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.
dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at com.icl.saxon.om.Builder.build(Builder.java:265)
        at com.icl.saxon.Controller.transform(Controller.java:936)
        at com.icl.saxon.StyleSheet.processFile(StyleSheet.java:516)
        at com.icl.saxon.StyleSheet.processDirectory(StyleSheet.java:481)
        at com.icl.saxon.StyleSheet.doMain(StyleSheet.java:336)
        at com.icl.saxon.StyleSheet.main(StyleSheet.java:63) to When processing XML files containing XIncludes with Saxon6_5_3 and Xerces-
2_6_0, I am getting the following message:


java  -
Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilder
FactoryImpl 
-
Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl 
-
Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.X
IncludeParserConfiguration 
com.icl.saxon.StyleSheet -o out in preprocess.xsl

java.lang.ArrayIndexOutOfBoundsException: 20
        at org.apache.xerces.xinclude.XIncludeHandler.reset(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.resetCommon(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.xinclude.XIncludeHandler.handleIncludeElement
(Unknown Source)
        at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown 
Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement
(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.
dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at com.icl.saxon.om.Builder.build(Builder.java:265)
        at com.icl.saxon.Controller.transform(Controller.java:936)
        at com.icl.saxon.StyleSheet.processFile(StyleSheet.java:516)
        at com.icl.saxon.StyleSheet.processDirectory(StyleSheet.java:481)
        at com.icl.saxon.StyleSheet.doMain(StyleSheet.java:336)
        at com.icl.saxon.StyleSheet.main(StyleSheet.java:63)
             environment changed from Operating System: Windows NT/2K
Platform: PC to Operating System: Windows NT/2K
Platform: PC
             priority changed to Blocker
             Component changed to XInclude 1.0
             Component changed from XNI
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCESJ-877?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESJ-877

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESJ-877
    Summary: XInclude processing not working properly
       Type: Bug

     Status: Resolved
   Priority: Blocker
 Resolution: FIXED

    Project: Xerces2-J
 Components: 
             XInclude 1.0
   Versions:
             2.6.0

   Assignee: 
   Reporter: john joshi

    Created: Tue, 27 Jan 2004 7:45 PM
    Updated: Sat, 24 Apr 2004 6:20 PM
Environment: Operating System: Windows NT/2K
Platform: PC

Description:
When processing XML files containing XIncludes with Saxon6_5_3 and Xerces-
2_6_0, I am getting the following message:


java  -
Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilder
FactoryImpl 
-
Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl 
-
Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.X
IncludeParserConfiguration 
com.icl.saxon.StyleSheet -o out in preprocess.xsl

java.lang.ArrayIndexOutOfBoundsException: 20
        at org.apache.xerces.xinclude.XIncludeHandler.reset(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.resetCommon(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.xinclude.XIncludeHandler.handleIncludeElement
(Unknown Source)
        at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown 
Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement
(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.
dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at com.icl.saxon.om.Builder.build(Builder.java:265)
        at com.icl.saxon.Controller.transform(Controller.java:936)
        at com.icl.saxon.StyleSheet.processFile(StyleSheet.java:516)
        at com.icl.saxon.StyleSheet.processDirectory(StyleSheet.java:481)
        at com.icl.saxon.StyleSheet.doMain(StyleSheet.java:336)
        at com.icl.saxon.StyleSheet.main(StyleSheet.java:63)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org