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

----------------------------------------------------------------------------
----
 
Mark Feblowitz                                   [t] 617.715.7231
Frictionless Commerce Incorporated     [f] 617.495.0188 
XML Architect                                     [e]
mfeblowitz@frictionless.com
400 Technology Square, 9th Floor 
Cambridge, MA 02139 
www.frictionless.com  
 

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

Manage your e-mail privacy at
http://www.orangatango.com/p/mailblox/home.pl?id=337569
(This message sent through Orangatango simple ID 337569)

hi,

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:26 GMT