Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-877

XInclude processing not working properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.6.0
    • None
    • XInclude 1.0
    • None
    • Operating System: Windows NT/2K
      Platform: PC
    • 26472

    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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            jo_joshi@hotmail.com john joshi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: