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] Groves (was re: bunch of other stuff...)

[ Lists Home | Date Index | Thread Index ]


John Cowan wrote:

> What I'd like to understand about groves is what the valid datatypes for
> property values can be.  I assume they include at least:
>
> 	node
> 	ordered list of nodes
> 	set of nodes
> 	integer
> 	string
> 	boolean
> 	enumeration of tokens
>
> What else can exist?

See <URL: http://www.ornl.gov/sgml/wg8/docs/n1920/html/clause-A.4.1.html>,
clause A.4.1.2, "Classes and properties."

You've got nodes, node lists, and named node lists (the nodal types);
characters, strings, integers, booleans, and "component names"
(the primitive data types); and integer lists, string lists,
and "component name" lists.

The most interesting one is the "named node list" type:
it's a node list with the extra condition that each member
of the list has a name property  which distinguishes it from
the other members of the list.  (This is used to model
the 'attributes' property of 'element' nodes, for example).

There is no "node set" data type; in fact even named node lists
are considered to be ordered.

A "component name" is a reference into the grove plan, if I understand
it correctly.  (Actually I'm not entirely sure what these are for.)


--Joe English

  jenglish@flightlab.com




 

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

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