At 12:38 AM 2/22/03 -0700, Martin wrote:
>
>My guess is to help humans match the tags that may be pages apart.

A good editor should be able to handle that.

At 08:10 AM 2/22/03 -0700, Vincent wrote:
>I would  assume it would make it easier for the parser to find problems like:
>
><a>1<b>2<c>3</></>
>
>So a tag is missing, which one? ...

One answer is that the document is not well-formed and there's no way to
determine what it should be.

Another is that a </> tag would simply close the nearest unclosed element.
By that, it's the <a> that's not matched.

Based on a few samples I've observed that element names in closing tags
typically amount to 10-30% of the text in an XML document that's a database
of some sort, like a catalog.  That strikes me as a significant amount of
overhead, but that's of course good news for hardware manufacturers... :)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to