W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2003

Re: Validating document with schema

From: Lachlan Aldred <l.aldred@qut.edu.au>
Date: Tue, 21 Oct 2003 10:38:23 +1000
Message-Id: <>
To: "Svend Bent Nielsen" <jawsoap@hotmail.com>, xmlschema-dev@w3.org
At 12:00 PM 20/10/2003 +0000, Svend Bent Nielsen wrote:

>Hello all,
>I tried another approach on converting DTD to Schema, using a DTD2XS 
>generator. My thought was that by looking at this generated schema, I 
>could change it to something more like what I want.
>Problem is (and I am new to this) that when I tried it out on IE 6.1, it 
>seemed to work, but when I changed the name of the schema in the xml file, 
>it still semed to work.
>I do not know if I have made something wrong in the declaration of the 
>schema, or if IE does not support schema validation.
>The xml files are several megabytes in size, so I can't use the online 
>I am using Visual Studio 2003, which seems to have some validation tools 
>(buttons), but they are all "greyed out" even though I am working with an 
>xml file or an xsd file.
>My schema file is named Test.xsd
>And this is the declaration in the xml file:
><Root ID="8423" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>         xsi:noNamespaceShemaLocation="Tests.xsd">
>So, my questions are:
>a) Is there something wrong with the above declaration?

There is a typo in the above code ... try:

>b) Are there some validators that are downloadable?

For quick and fairly easy to use IDE try: XML Spy.
If you are after something a java API try Xerces.

Hope this helps..

Lachlan Aldred

Received on Monday, 20 October 2003 21:29:42 UTC

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