OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Any public source code for an XML Schema (12/17/99) checker out t he

[ Lists Home | Date Index | Thread Index ]
  • From: "Arnold, Curt" <Curt.Arnold@hyprotech.com>
  • To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
  • Date: Fri, 14 Jan 2000 12:53:01 -0700

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@imsisoft.com]
Sent: Friday, January 14, 2000 1:04 PM
To: 'xml-dev@ic.ac.uk'; 'www-xml-schema-comments@w3c.org'
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@imsisoft.com
(415) 878-4205

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
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@ic.ac.uk
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.






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS