I downloaded Xerces-J-bin.1.3.0.zip. I am using Xerces in conjunction with
jdom b6. I tried validating both through jdom and xerces directly with the
same result.

Alex

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2001 3:03 PM
To: [EMAIL PROTECTED]
Subject: Re: problem validating schema with Xerces 1.3.0



Hi there,
From the messages you're getting, I would guess that you might be using an
older parser (prior to 1.3.0).
Which file did you download from the web site to get 1.3.0?
Thx,
Lisa.

"Aleksandar Milanovic" <[EMAIL PROTECTED]> on 02/20/2001 05:20:11 PM

Please respond to [EMAIL PROTECTED]

To:   "Xerces-J-User" <[EMAIL PROTECTED]>
cc:
Subject:  problem validating schema with Xerces 1.3.0


Hi,

I want to validate a schema using the Xerces 1.3 parser. The parser reports
the following error:

org.xml.sax.SAXParseException: General Schema Error: Grammar with uri 2:
http://www.w3.org/2000/10/XMLSchema , can not found.
 at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1060)
 at
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(X

MLValidator.java:1446)
 at
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttribute

s(XMLValidator.java:2736)
 at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat

or.java:924)
 at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne

r.java:1858)
 at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM

LDocumentScanner.java:1001)
 at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.

java:381)

The document in question starts with:
?xml version="1.0" encoding="UTF-8"?> <xsd:schema
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema";  ...

Can Xerces 1.3 validate schemas at all? The same schema validates fine in
XMLSpy 3.5.

thx

Alex



------------------------------------------------
Aleksandar Milanovic
Software Engineer
Galdos Systems Inc.
email: [EMAIL PROTECTED]




---------------------------------------------------------------------
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