You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Peter Foti <Pe...@GraniteStream.com> on 2004/03/16 21:49:31 UTC

Validating that an XML file isn't corrupt

I'm running the Xerces C++ Parser (I assume this is the correct group for
these questions).  I'm wondering if there is some way to do basic XML
validation using the parser?  By this, I mean validate that it's well
formed, but not validate it against a DTD or Schema.  Is this possible?

Thanks,
Peter Foti


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Validating that an XML file isn't corrupt

Posted by Gareth Reakes <pa...@parthenoncomputing.com>.
Hi,
	that is what the parser does if validation is off/ there is no
reference to a DTD.

Gareth

--
Gareth Reakes, Managing Director            +44-1865-811184
Parthenon Computing                http://www.parthcomp.com




On Tue, 16 Mar 2004, Peter Foti wrote:

> I'm running the Xerces C++ Parser (I assume this is the correct group for
> these questions).  I'm wondering if there is some way to do basic XML
> validation using the parser?  By this, I mean validate that it's well
> formed, but not validate it against a DTD or Schema.  Is this possible?
>
> Thanks,
> Peter Foti
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org