- From: Hausenblas, Michael <michael.hausenblas@joanneum.at>
- Date: Thu, 6 Dec 2007 12:46:55 +0100
- To: "Ben Adida" <ben@adida.net>, "RDFa" <public-rdf-in-xhtml-tf@w3.org>
I as well had an action on whitespace handling, namely regarding what the spec says [1] - here is what I found: Section 4.7 'White Space handling in attribute values' of the XHTML spec [2] tells us: ============================================================= When user agents process attributes, they do so according to Section 3.3.3 of XML [3]: + Strip leading and trailing white space. + Map sequences of one or more white space characters (including line breaks) to a single inter-word space. ============================================================= Further, Section 3.3.3 of XML [3] defines in detail the 'Attribute-Value Normalization', such as EOL handling, mapping of (#x20, #xD, #xA, #x9) whitespace to a single #x20, and CDATA/NMTOKENS declarations. Given the above, and when I understand Ben right, my conclusion would be that none of the browsers actually behaves correctly. Did I miss anything? Cheers, Michael [1] http://www.w3.org/2007/11/15-rdfa-minutes.html#action08 [2] http://www.w3.org/TR/xhtml1/#h-4.7 [3] http://www.w3.org/TR/REC-xml#AVNormalize ---------------------------------------------------------- Michael Hausenblas, MSc. Institute of Information Systems & Information Management JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, A-8010 Graz, AUSTRIA <office> phone: +43-316-876-1193 (fax:-1191) e-mail: michael.hausenblas@joanneum.at web: http://www.joanneum.at/iis/ <https://webmail.joanneum.at/exchweb/bin/redir.asp?URL=http://www.joanneum.at/iis/> <private> mobile: +43-660-7621761 web: http://www.sw-app.org/ <https://webmail.joanneum.at/exchweb/bin/redir.asp?URL=http://www.sw-app.org/> ---------------------------------------------------------- ________________________________ From: public-rdf-in-xhtml-tf-request@w3.org on behalf of Ben Adida Sent: Thu 2007-12-06 07:38 To: RDFa Subject: action on white-space preservation in attributes Hi all, I had an action to check on white-space preservation in browsers. It appears that Safari3, Firefox2, and IE6/7 all preserve white space in any position of attribute content. -Ben
Received on Thursday, 6 December 2007 11:47:22 UTC