- From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
- Date: Sat, 15 Feb 2003 07:46:00 -0500
- To: Tim Bray <tbray@textuality.com>, WWW-Tag <www-tag@w3.org>
The rddl:resource element could do couple of things html:a couldn't.
First of all, it could contain itself. This is ruled out by the XHTML
specification. Secondly, it could contain block-level elements like
div and h1 and p, even entire sections. The a element only contains
inline elements:
<!-- content is %Inline; except that anchors shouldn't be nested -->
<!ENTITY % a.content
"(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; |
%misc.inline;)*">
<!ELEMENT a %a.content;>
<!ATTLIST a
%attrs;
%focus;
charset %Charset; #IMPLIED
type %ContentType; #IMPLIED
name NMTOKEN #IMPLIED
href %URI; #IMPLIED
hreflang %LanguageCode; #IMPLIED
rel %LinkTypes; #IMPLIED
rev %LinkTypes; #IMPLIED
shape %Shape; "rect"
coords %Coords; #IMPLIED
>
I'm not sure how important this is, but it does mean this proposal is
less flexible than RDDL1
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| Processing XML with Java (Addison-Wesley, 2002) |
| http://www.cafeconleche.org/books/xmljava |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
Received on Saturday, 15 February 2003 07:51:21 UTC