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] One (jaundiced?) view of Microsoft's vision for XML

[ Lists Home | Date Index | Thread Index ]

John Cowan <cowan@mercury.ccil.org> writes:

> Henry S. Thompson scripsit:
> 
> >   * Point 1
> >     - Point 1a
> >     - Point 1b
> >   * Point 2
> > 
> > is represented as (simplifying away all but the relevant bits):
> > 
> >  <list><item>Point 1</item></list>
> > 
> >  <list><item><list><item>Point 1a</item></list></item></list>
> > 
> >  <list><item><list><item>Point 1b</item></list></item></list>
> >  
> >  <list><item>Point 2</item></list>
> > 
> > I consider this to be tag abuse, 
> 
> Well, remember that it has to support arbitrary nesting and non-nesting.
> For example, it still has to work if you remove Point 1; Points 1a and 1b
> are not promoted to the top level.  This is really the same problem
> as the H1, H2, ... elements in HTML.  Perhaps <list> <item depth="1"> ...
> </item> <item depth=2> ... </item></list> might have been better.

The crucial point of pain is the fact that the items are not grouped
properly _at all_ -- there are always as many lists as items.  I
wouldn't mind the double nesting in the orphan case you mention, it's
just I'd like the simple cases to be simple :-).

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]




 

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

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