RE: how to close html tags : link, meta,...
2003-08-13 08:49:52
From: Julian Reschke [mailto:julian(_dot_)reschke(_at_)gmx(_dot_)de]
Sent: Wednesday, August 13, 2003 8:54 AM
Subject: RE: [xsl] how to close html tags : link, meta,...
But <div/>, which is the element Andrew specifically
referred to, is *not*
defined as EMPTY in the DTD. It should not be written minimized.
If the spec would really forbid that, this would be a bug in the spec.
Section 4.3 of the XHTML spec says: "All elements other than those declared
in the DTD as EMPTY must have an end tag. Elements that are declared in the
DTD as EMPTY can have an end tag or can use empty element shorthand . . ."
Section 2.1 defines "must" as indicating a mandatory requirement either on
the implementation or on conformant documents. So if Saxon 7.x were to spit
out <div/> when serializing XHTML output, I'd report it as a bug.
If this is a bug in the spec, at least it's one that works to an author's
advantage, in that it makes it easier to produce XHTML for applications that
may not be fully conformant, and it still meets the requirements for
well-formedness.
cheers,
b.
| brian martinez
brian(_dot_)martinez(_at_)cendant(_dot_)com |
| lead gui programmer 303.357.3548 |
| cheap tickets, part of trip network fax 303.357.3380 |
| 6560 greenwood plaza blvd., suite 400 englewood, co 80111 |
| cendant travel distribution services http://www.cheaptickets.com/ |
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: how to close html tags : link, meta,..., (continued)
Re: how to close html tags : link, meta,..., David Carlisle
Re: how to close html tags : link, meta,..., David Carlisle
RE: how to close html tags : link, meta,..., Martinez, Brian
RE: how to close html tags : link, meta,..., Andrew Welch
RE: how to close html tags : link, meta,...,
Martinez, Brian <=
RE: how to close html tags : link, meta,..., Andrew Welch
RE: how to close html tags : link, meta,..., Chris Loschen
RE: how to close html tags : link, meta,..., Wendell Piez
|
Previous by Date: |
RE: how to close html tags : link, meta,..., B. Tommie Usdin |
Next by Date: |
Re: how to close html tags : link, meta,..., David Carlisle |
Previous by Thread: |
Re: how to close html tags : link, meta,..., David Carlisle |
Next by Thread: |
RE: how to close html tags : link, meta,..., Andrew Welch |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|