Hi Roger,

You've found an instance where some JDK1.2+ code has crept in to Xerces.
We're aiming to keep Xerces compatible with JDK 1.1.8, so I'll make sure
this gets fixed in CVS so that it will work in 1.4.1.  In the interim, if
you don't like doing CVS checkouts you'll have to upgrade your JDK.

Hope that helps,
Neil

Neil Graham
XML Parser Development
IBM Toronto Lab
Phone:  416-448-3519, T/L 778-3519
E-mail:  [EMAIL PROTECTED]



"Roger L. Costello" <[EMAIL PROTECTED]> on 06/01/2001 01:50:48 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:  Can't get xerces-1_4_0 to validate using SAXCount


Hi Folks,

The following command:

jre sax.SAXCount -v BookStore.xml

resulted in the below error message.  Am I doing something wrong?  I am
using jre1.1, on an NT machine, the binaries from Xerces-J-bin.1.4.0.zip
(dated 22-May-2001).  (Note that the above command worked fine with
xerces-1_3_0)  Here is the error message:

Exception in thread "main" java.lang.NoSuchMethodError:
java.util.Hashtable: method values()Ljava/util/Collection; not found
        at
org.apache.xerces.validators.schema.OneElement.<init>(GeneralAttrChec
k.java:1260)
        at
        at
org.apache.xerces.validators.schema.TraverseSchema.doTraverseSchema(C
ompiled Code)
        at
org.apache.xerces.validators.schema.TraverseSchema.<init>(TraverseSch
ema.java:492)
        at
org.apache.xerces.validators.common.XMLValidator.resolveSchemaGrammar
(XMLValidator.java:2766)
        at
org.apache.xerces.validators.common.XMLValidator.bindNamespacesToElem
entAndAttributes(Compiled Code)
        at
org.apache.xerces.validators.common.XMLValidator.callStartElement(Com
piled Code)
        at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(Compiled C
ode)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(Compiled Code)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled Cod
e)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1076)
        at sax.SAXCount.print(SAXCount.java:158)
        at sax.SAXCount.main(Compiled Code)

/Roger


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to