java.lang.NegativeArraySizeException ERROR, Help!!!!

Hi,

I am running the following line of code and it is generating an error, I am not sure what is causing this error. ANy thoughts or pointers?

Command:

C:\Users\Sheetal\marcxml\marc4j>java org.marc4j.util.MarcXmlWriter summerland.xml

Error

java.lang.NegativeArraySizeException

at org.marc4j.MarcReader.parse(Unknown Source)

at org.marc4j.marcxml.MarcXmlReader.parse(Unknown Source)

at org.apache.xalan.transformer.TransformerIdentityImpl.transform(Unknow

n Source)

at org.marc4j.marcxml.Converter.convert(Unknown Source)

at org.marc4j.marcxml.Converter.convert(Unknown Source)

at org.marc4j.util.MarcXmlWriter.main(Unknown Source)

Total time: 61 miliseconds

thanks

sheetal

[800 byte] By [Sheetal_06a] at [2007-11-27 3:47:30]
# 1
The xml document is probably malformed and it exposes a bug in MarcReader (bad error handling)Kaj
kajbja at 2007-7-12 8:51:16 > top of Java-index,Java Essentials,New To Java...