[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] FYI--off-topic--Notation Schemas proposal
For anyone who is interested, there is a draft-in-progress of my ideas for a good schema language. It allows you do things like * content models for attribute lists: to say element X can have attributes (id & (size & size-units)? & ( href | entityref)? ) * content models for attribute values, to say that attribute Y can have NMTOKENS ( MONDAY | TUESDAY | WEDNESDAY | THURSDAY | FRIDAY | (SATURDAY? & SUNDAY?) ) * content models for IDREFS links, to say that element Z can have IDREFS to particular types of elements ( ( p | q | tbl ), (p, | q | tbl) In other words, it treats attribute lists, attribute value lists, & IDREF lists with the same strong typing that is available to elements. The foundation of my proposal is that everything should be modelled as a grammar: if the decision of whether to make something an attribute, an element or an element reference (IDREF) is completely arbitrary (from the information modeled), then why not allow strong typing on all them. It moves XML from being a strongly-yped tree language to being a strongly-typed graph language. It also allows people more freedom to structure their documents, for example to move to flat relational-style tables without giving up strong typing. This would make RDF more useful too. However, I gather some of this might be out of the scope of the XML Schema group. However, since apparantly XML 1.0 conformance was outside their scope too, apparantly (I am being naughty: they did an amazing job to pull together so many proposals and put it out on time...lets not forget that it is only a draft), perhaps they may be open to developing in other directions. Rick Jelliffe 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/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|