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

RE: How can i parse schema itself with xerces

From: Mark Feblowitz <mfeblowitz@frictionless.com>
Date: Tue, 22 Jan 2002 08:15:32 -0500
Message-ID: <4DBDB4044ABED31183C000508BA0E97F024D575F@fcpostal.frictionless.com>
To: "Xmlschema-Dev (E-mail)" <xmlschema-dev@w3.org>
One way to validate the schema file "schemaFile.xsd" using Xerces-J 2.0.0B4
via the command line,

	java dom.Counter -s -f schemaFile.xsd

The -s flag means "Turn on/off Schema validation support."
The -v flag means "Turn on/off Schema full checking."

To find out how to do this within a java program, look at Counter.java in
the Examples folder.


----------------------------------------------------------------------------
----
 
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: 	James Yegerlehner [mailto:james@kamiak.com] 
Sent:	Monday, January 21, 2002 12:45 PM
To:	xmlschema-dev@w3.org
Subject:	Re: How can i parse schema itself with xerces

> From: "kais letaief" <kaisnet@everyday.com>
> i want to parse a schema it self,

The schema is an XML document, so just parse it like any other.  Did I
misunderstand your question?

Regards,
------------
James Yegerlehner
Omniopera: XML Schema and WSDL Authoring Software
http://www.omniopera.com
Received on Tuesday, 22 January 2002 08:16:07 GMT

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