- From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
- Date: Fri, 27 Jul 2001 07:22:13 -0400
- To: xml-editor@w3.org
The example in section 2.10, white space handling, contains a blank comment with no apparent purpose: <!ATTLIST poem xml:space (default|preserve) 'preserve'> <!-- --> <!ATTLIST pre xml:space (preserve) #FIXED 'preserve'> There's a not-quite commented-out loc element in the XML source for this example. <eg diff="chg"><![CDATA[<!ATTLIST poem xml:space (default|preserve) 'preserve'>]]> <!-- <loc role="erratumref" href="http://www.w3.org/XML/xml-19980210-errata#E81">[E81]</loc>--> <!ATTLIST pre xml:space (preserve) #FIXED 'preserve'></eg> I suspect an editing error produced this. I suggest that the comment simply be deleted from the HTML version and that the loc in the XML be properly commented out The same problem reoccurs in section 4.4.5 where we see: <!-- --> <!ENTITY % YN '"Yes"' > <!ENTITY WhatHeSaid "He said %YN;" > Here the XML source is: <eg diff="chg"><!-- <loc role="erratumref" href="http://www.w3.org/XML/xml-19980210-errata#E4">[E4]</loc> --> <![CDATA[<!ENTITY % YN '"Yes"' > <!ENTITY WhatHeSaid "He said %YN;" >]]></eg> Again I suspect the original intent was to fully comment out the loc element. -- +-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer | +-----------------------+------------------------+-------------------+ | The XML Bible, 2nd Edition (Hungry Minds, 2001) | | http://www.ibiblio.org/xml/books/bible2/ | | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ | +----------------------------------+---------------------------------+
Received on Friday, 27 July 2001 07:24:16 UTC