[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20031208: Regarding Case Number 2485222



>From: "Todd Plessel" <address@hidden>
>Organization: EPA
>Keywords: 200312082254.hB8Ms1p2002787

Todd-

Thanks for cc'ing us on this.  I agree with your questions, but
we will also look into upgrading xerces.

Don

>
>Regarding that IDV XML/Java problem on SGIs:
>
>> "It appears customer is using xerces-1_4_4. Xerces Java 1 sometimes exhibits
>> this ArrayIndexOutOfBoundsException error when input xml file is not XML
>> compliant enough.
>>
>> When I ran xml validation check from xercesSamples app against customer's
>> xml input file colortables.xml
>> /usr/java2/bin/java -cp xerces.jar:xercesSamples.jar dom.DOMCount -v
>> colortables.xml
>>
>> it detected 896 errors, such as
>> [Error] colortables.xml:3:38: Element type "object" must be declared.
>
>It can't validate the XML file since the file has no DTD.
>
>> ......
>>
>> I do not think setenv JAVA_OPENGL_NATIVE is causing this problem. It's just
>> when one sets JAVA_OPENGL_NATIVE, this ArrayIndexOutOfBoundsException
>> problem is exposed.
>
>Apparently, JAVA_OPENGL_NATIVE must be set since Java3D is also used
>(by the real application).
>
>> I'd recommend to use Xerces2 which is lot better."
>
>Does the failure not occur with Xerces2?
>Note the failure does not occur on other platforms using this
>same xerces.jar and XML file.
>
>I'll forward this to the external developers of the application that
>uses the XML file and Xerces.
>
>Thanks.
>
>Todd
>
>