RE: Any public source code for an XML Schema (12/17/99) checker out t he
Sorry, I don't think that you will be able to find something like that immediately. The XML Apache Project is working to incorporate 17 Dec Schema into their Xerces parsers but there are aspects that are darn complicated. With early schema drafts it has been fairly easy to write an application that reads a schema and generates DTD's. Since you are aren't immediately interested in the features Schema adds above DTD validation, then you could just use schema as a higher level DTD authoring language (an approach I've used in the past). With this draft, you would have to avoid the context-sensitive element declarations (where an element has one structure when used in the context of one element and a different structure in the context of another). -----Original Message----- From: Peter Zingg [mailto:Pzingg@i...] Sent: Friday, January 14, 2000 1:04 PM To: 'xml-dev@i...'; 'www-xml-schema-comments@w...' Subject: Any public source code for an XML Schema (12/17/99) checker out t here? I'm trying to write a few schemas for XML with some associated example documents, and am currently using the Microsoft (IE 5) XDR system for validating the documents. I'd like to move away from XDR to a more "official" schema system. Does anyone have any tools to check the validity of documents against the 12/17/99 XML Schema draft? My current requirements are slim: I only need to associate one schema per document. (Seems like there is still a lot of confusion in xml-dev and the WG comments about namespaces, schemaLocations, and the like). I have no need to check XML Schema Datatypes (yet). I have no need for testing the uniqueness of keys and keyrefs (yet). I only need partial support for XML Schema Structures. Checking for the correct content model (textOnly|mixed|elementOnly|empty), valid attribute and element names, minOccurs and maxOccurs would probably be enough. I'd like the tool to work with expat (in C or Perl, for example). I suppose if anyone has source code for XDR or other schema validating stuff, I could modify it to suit my needs. I'm assuming that when things settle down in March, there will be such tools available, even with W3C's imprimatur (maybe even Microsoft will update their parser to accept the W3C recommendation). Thanks, Peter Zingg IMSI 75 Rowland Way Novato, CA 94945 pzingg@i... (415) 878-4205 xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1 Please note: New list subscriptions now closed in preparation for transfer to OASIS. xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1 Please note: New list subscriptions now closed in preparation for transfer to OASIS.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format