[Bug 11526] New: newlines in attribute values

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11526

           Summary: newlines in attribute values
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot
                    Graff)
        AssignedTo: eliotgra@microsoft.com
        ReportedBy: davidc@nag.co.uk
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, eliotgra@microsoft.com


The svg path d attribute in section 12, and the sample document is spread over
several lines. These newlines are normalised to space in an XML DOM but not in
an HTML as stated in section 7.

Rather than remove the newlines, a more pragmatic approach might be to have
some words similar to those discussing the //<![CDATA usage in script elements,
where there is an acknowledgement that the DOMs generated will be different but
that it doesn't matter in practice as the following process (by SVG and
Javascript engines respectively) will ignore the white space differences.

Also the abstract probably should not say

"parses into identical document trees"

but rather say 

"That parses into compatible DOM trees"


where you may have to just define "compatible" informally, or maybe not
depending on how many places you get different parse trees while conforming to
these rules.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 10 December 2010 15:02:20 UTC