W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

RE: question about Xerces

From: Mark Feblowitz <mfeblowitz@frictionless.com>
Date: Mon, 14 Jan 2002 09:01:48 -0500
Message-ID: <4DBDB4044ABED31183C000508BA0E97F024D56F8@fcpostal.frictionless.com>
To: 'Leta´ef Ka´s' <0e0f910cf343a218c9a7080e8628190c@orangatango.com>, xmlschema-dev@w3.org
Xerces 2.0.0B4 can validate both. It's just that you have to tell it to.

If you're invoking the dom.Counter example program on the command line to
validate your schema and instance documents, you need to make sure to use
the -s, -f ,  and -v flags to get it to validate your schema (-s) fully(-f)
and to also validate the instance(-v). 

Looking at the source in dom/Counter.java, the defaults are set to "false."
That example file also demonstrates how to activate validation, if you're
calling Xerces programmatically. I suspect that similar guidance can be
found in the C++ example source.


Mark Feblowitz                                   [t] 617.715.7231
Frictionless Commerce Incorporated     [f] 617.495.0188 
XML Architect                                     [e]
400 Technology Square, 9th Floor 
Cambridge, MA 02139 

 -----Original Message-----
From: 	Leta´ef Ka´s
Sent:	Monday, January 14, 2002 8:41 AM
To:	xmlschema-dev@w3.org
Subject:	question about Xerces

Manage your e-mail privacy at
(This message sent through Orangatango simple ID 337569)


is the Xerces parser may check and validate an XML
document against an XML schema or it can just validate
an XML schema (structure, syntax,...)

thanks in advance. 

Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en franšais !
Yahoo! Courrier : http://courrier.yahoo.fr
Received on Monday, 14 January 2002 09:02:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:54 UTC