IBM's xml4j 2.x and VisualCafe

Pawel Potocki sysx at superlink.com
Wed Jun 2 06:35:14 BST 1999


I wonder if anyone had problems working with IBM's xml parser
for Java version 2.x (2.09 is the newest I belive) and Symantec's Visual

Cafe 3.0a (3.0, 2.5a or any other). I just switched from IBM's xml
parser
version 1 (1.1.16) t o version 2 and have problem running examples in
the debugger mode.
Without debugger, it is OK, but with debuger I get exceptions and can't
seems to
find a way to fix them. I tried all sort of things, I pointed VisualCafe
to different vm's
and still same problem. Below I'm attaching printout from DOMCount
example
in the samples directory. Interesting anough that this works well in the
IBM's VisaulAge for Java
(debugging mode as well).

Thanks for any input and help in this.
-Pawel

(this is from vm 1.1.7b in VisualCafe 3.0a):

Exception raised:  "Exception: java.lang.ArrayIndexOutOfBoundsException
32
    at
com.ibm.xml.internal.DefaultStringPool.ensureCapacity(DefaultStringPool.java:101)

    at
com.ibm.xml.internal.DefaultStringPool.addString(DefaultStringPool.java:182)

    at
com.ibm.xml.internal.UTF8CharReader$UTF8CharDataChunk.addString(UTF8CharReader.java:1597)

    at
com.ibm.xml.internal.UTF8CharReader.addString(UTF8CharReader.java:52)
    at
com.ibm.xml.internal.UTF8CharReader.callWSCharDataHandler(UTF8CharReader.java:919)

    at
com.ibm.xml.internal.UTF8CharReader.scanContent(UTF8CharReader.java:650)

    at
com.ibm.xml.internal.DefaultScanner.scanContent(DefaultScanner.java:1020)

    at
com.ibm.xml.internal.DefaultScanner.scanDocument(DefaultScanner.java:405)

    at com.ibm.xml.framework.XMLParser.parse(XMLParser.java:327)
    at com.ibm.xml.framework.XMLParser.parse(XMLParser.java:371)
    at dom.wrappers.DOMParser.parse(DOMParser.java:59)
    at dom.DOMCount.count(DOMCount.java:71)
    at dom.DOMCount.main(DOMCount.java:213)
    at sun.tools.debug.MainThread.run(Agent.java:47)




xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list