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)
TED]
nworld.com> cc:
Subject: Re: Validating XML Schema
instance against XMLSche
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
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
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
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 :-(
>
>
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
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.
>
> --
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
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:
>
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.
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
12 matches
Mail list logo