RE: Validating XML against Schema

2005-02-04 Thread ebi.khazaneh
I am investigating how Xerces-C++ can be used to parse a XML and validate it against a XML schema.   Greatly appreciate code snippets that show how this is done.   Many Thanks Ebs PLEASE READ: The information contained in this email is confidential and intended for the named recipient(s)

Re: Validating XML Schema instance against XMLSchema.xsd

2004-06-25 Thread Neil Graham
TED] nworld.com> cc: Subject: Re: Validating XML Schema instance against XMLSche

Re: Validating XML Schema instance against XMLSchema.xsd

2004-06-25 Thread Andrew Wilson
I have a similar problem. Any pointers on where SQC can be obtained? D ^ DAndrew E Wilson < A > AV technology consultant (UK) D v D Tel +44 7710 727636, or +44 1753 885549 Hi, So it seems that according to xerces-c 2.5.0 W3's XMLSchema.xsd is not a valid XML Schema instance. An

Re: Validating XML Schema instance against XMLSchema.xsd

2004-06-25 Thread Gareth Reakes
Hi, So it seems that according to xerces-c 2.5.0 W3's XMLSchema.xsd is not a valid XML Schema instance. Any clues are appreciated. It is not a valid schema in the general sense. There are explicit allowances the the specs make for the schema for schema . As Alby says, there are also many many mo

Re: Validating XML Schema instance against XMLSchema.xsd

2004-06-24 Thread Alberto Massari
At 19.39 24/06/2004 +, Boris Kolpackov wrote: Good day, I am trying to validating XML Schema instance against W3's XML Schema schema. Here is what I have: [..] So it seems that according to xerces-c 2.5.0 W3's XMLSchema.xsd is not a valid XML Schema instance. Any clues are appreciated. Xerces d

RE: validating XML without DOCTYPE

2003-09-05 Thread Yves Monier
y, September 04, 2003 5:10 PM > To: [EMAIL PROTECTED] > Subject: RE: validating XML without DOCTYPE > > > Hello, > > I had the same problem 2 days ago! > (http://marc.theaimsgroup.com/?l=xerces-c-dev&m=106246309804928&w=2) > And the answer is: you can't :-( > >

RE: validating XML without DOCTYPE

2003-09-04 Thread Yves Monier
Hello, I had the same problem 2 days ago! (http://marc.theaimsgroup.com/?l=xerces-c-dev&m=106246309804928&w=2) And the answer is: you can't :-( But Neil Graham answered that it is possible with schemas (thanks Neil, I'm investigating this!) Yves > -Original Message- > From: Christian Br

Re: validating XML without DOCTYPE

2003-09-04 Thread Gareth Reakes
Hi, you can't currently do this. Gareth On Thu, 4 Sep 2003, Christian Brock wrote: > Hello everybody: > > I receive an XML document without a tag. > > I still want to validate the message against an existing DTD. > > How? > > Thanks --Chr. > > --

RE: Validating XML docs against a Schema

2003-07-16 Thread Erik Rydgren
No the parser never throws on invalid input. The parser calls the errorhandler, aborts the parse and returns false. If you want the parser to throw an exception then you'll have to throw the exception in the errorhandler. / Erik > -Original Message- > From: Suchit Batheja [mailto:[EMAIL P

Re: Validating XML with embedded schema using Xerces C++

2002-12-04 Thread Gareth Reakes
Hi, there is no direct way of doing what you want. You could adjust the xerces code base to make this possible, but I suspect the easier (much) way of doing this is to create a simple stylesheet the reprocesses the doc as you describe. Gareth On Wed, 4 Dec 2002, Simon Keary wrote: >

RE: Validating XML.

2001-12-18 Thread SidY
Hi, To validate you need a DTD... Usually you enable validation via a setMethod() of the relevant parser. Sid -Original Message- From: Shantanu Dutta [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 18 December 2001 9:12 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Validating XML.

RE: Validating XML.

2001-12-18 Thread Avula, Raj
Well, I too had this kind of requirement some time back. I didn't find any direct API for doing this. Easiest thing is prepending doctype decleration of external dtd to xml string before passing to parser. --- Raj. > -Original Message- > From: Shantanu Dutta [SMTP:[EMAIL PROTE