- From: Lachlan Aldred <l.aldred@qut.edu.au>
- Date: Tue, 21 Oct 2003 10:38:23 +1000
- To: "Svend Bent Nielsen" <jawsoap@hotmail.com>, xmlschema-dev@w3.org
- Message-Id: <5.1.1.5.2.20031021103418.026e2728@pop.qut.edu.au>
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 >validators. >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? Yes, There is a typo in the above code ... try: xsi:noNamespaceSchemaLocation >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 http://sky.fit.qut.edu.au/~aldredl/
Received on Monday, 20 October 2003 21:29:42 UTC