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

XML Validator with XML SCHEMA

From: Ferrari GIanni <Ferrari.gi@apss.tn.it>
Date: Thu, 22 Jan 2004 12:04:29 +0100
Message-ID: <D11D57B75A3CD411BF7F00E018C3356F0182F8B5@NTGEN05>
To: xmlschema-dev@w3.org


I'm making a Java parser, and I would like to take as input a XML Schema.
I'm using Xerces 2.6.0 and I read that this tool can use XML Schema. I Tried
to write a java tool and I found out that my program works with DTD very
good, but I don't know like to use with an XML Schema. What differents codes
or .jar I have to use? Which features about xerces I have to introduct in my


With DTD I wrote: 



And with XML Schema I wrote




The problem is that with the second code, my program use DTD always. Why?

Please write me soon, I hope you know a solution.

Thank you.



Received on Thursday, 22 January 2004 08:04:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:04 UTC