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] Article: "The horror of XML"

[ Lists Home | Date Index | Thread Index ]

That is SGML minimization using a DTD as you say.  
But no, it isn't XML.  People doing this sort of 
thing might want to use SGML given that the article 
seems more concerned with how to use markup more 
efficiently and that is quite a different problem 
from the Mythical DePH Who Knows HTML, the unofficial 
model for the XML user.  IOW, the implementor would 
figure out a different SGML subset and emphasize 
efficiency rather than abusing XML.  That would be 
an interesting exercise.

len

From: Alaric B. Snell [mailto:alaric@alaric-snell.com]

On Wednesday 30 October 2002 15:26, Seairth Jacobs wrote:
> Hmm...  I have several problems with this article:
>
> 1) Not require end tags?  I don't see how a generic parser could possibly
> process XML that was missing end tags.  

Given a DTD you should be able to do that - it's just recovery rules.

I mean at any point in parsing you have a stack of elements the current 
context is enclosed by. You find something invalid in the current context, so 
loop around popping stuff of the stack until it's valid.




 

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

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