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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] DSDL part 9: new namespace declarations not needed as part

[ Lists Home | Date Index | Thread Index ]

From: "Arjun Ray" <aray@nyct.net>

> Rather, it would be up to the document to map
> its various parts to the various schemas that the instance composer had to
> have known about. 

This seems like a less constrained version of XSD's substition groups, but in
reverse.

Your element declaration says
  <!ELEMENT div (title, ( p | table | list )>
and then you provide some external declaration to say
  "when it says 'table', you can/should use table from the HTML namespace"
and/or
  "when it says 'table', you can/should use tbl from the CALS namespace"

This is interesting because it provides a distinctively different approach to
handling the composition of schemas than, I think, XSD or RELAX NG.  

The biggest use for namespaces I ever saw in SGML was exactly that
there were two table languages (I think CALS and WP) that someone
wanted to have both, but they both used some of the same element
names.

Cheers
Rick Jelliffe




 

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

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