Bug in 2.3.0? 2003-01-28 - By neilg@(protected)
Hi Alex,
Well, it's possible you've found a bug; I think it's fair to say that the xerces-specific schemaLocation properties don't tend to get tested as well as many other aspects of the parser...
I'd recommend two things:
1. Give us a cut-down test-case that reproduces the problem; 2. If you can't do that, then at least recompile Xerces with debugging, so we at least have line numbers in the stack trace.
Knowing what JDK you're on could also be important.
Cheers, Neil Neil Graham XML Parser Development IBM Toronto Lab Phone: 905-413-3519, T/L 969-3519 E-mail: neilg@(protected)
|---------+----------------------------> | | "Aleksandar | | | Milanovic" | | | <amilanovic@(protected)| | | sinc.com> | | | | | | 01/28/2003 05:25 | | | PM | | | Please respond to| | | xerces-j-user | | | | |---------+----------------------------> >---------------------------------------------------------------------------- -----------------------------------------------------------------| | | | To: "Xerces-J-User" <xerces-j-user@(protected)> | | cc: | | Subject: Bug in 2.3.0? | | | | | >---------------------------------------------------------------------------- -----------------------------------------------------------------|
Hi,
We tried using Xerces 2.3.0 instead of 2.2.1 and got the following error:
java.lang.ClassCastException: org.apache.xerces.impl.dv.xs.ListDV$ListData at org.apache.xerces.impl.xs.XMLSchemaLoader.processExternalHints(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.reset(Unknown Source) at org.apache.xerces.parsers.BasicParserConfiguration.reset(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.reset(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
It's a bit confusing that a DTDConfiguration class shows up, because we don't use DTDs at all, only XML schemas.
Any clue?
thx Alex
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|