OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   IBM's xml4j 2.x and VisualCafe

[ Lists Home | Date Index | Thread Index ]
  • From: Pawel Potocki <sysx@superlink.com>
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 02 Jun 1999 00:38:29 -0400


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@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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS