Validating XML against XSD

davisjoseph

Usenet Archive
Joined
Jun 14, 2005
Messages
4
Reaction score
0
Hi All,

I'm using Xerces C++ 2.50 DOM version for Validating a valid XML againt the Schema(XSD) available; But it always shows an error in XSD I suppose; This is the error I'm getting using DOMError :

Value 'The type of the operation for this entity.' is NOT a valid URI Value ' 1 = Allow 2 = Agree 4 = Deny' is NOT a valid URI;

Here '1 = Allow 2 = Agree 4 = Deny' these are enumerated values in XSD. Can anyone point out me what would be the possibility for this error message?

The XML is validating perfectly in XML SPY. So XML I'm trying to validate is perfect; but this message is always recurring.

Can anyone provide small code snippet or sample for validating an XML against XSD using DOM

Thanks in advance!
 
G

Guest

a écrit :
Hi All,
The XML is validating perfectly in XML SPY. So XML I'm trying to validate is perfect; but this message is always recurring.
Can you try xmllint ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,049
Messages
3,104,244
Members
248,133
Latest member
DujonT

Latest Threads

Top