You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by john joshi <jo...@hotmail.com> on 2004/01/28 00:40:50 UTC

XInclude with Xerces and Saxon

Hi,


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)


John Joshi

_________________________________________________________________
Check out the new MSN 9 Dial-up — fast & reliable Internet access with prime 
features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1


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