W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2008

[Bug 3771] [FS] technical: interleaved with empty text nodes

From: <bugzilla@wiggum.w3.org>
Date: Tue, 11 Mar 2008 12:45:55 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JZ3rf-0003jF-06@wiggum.w3.org>

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





------- Comment #9 from mike@saxonica.com  2008-03-11 12:45 -------
Concerning comment #7, I was wondering why Saxon doesn't have this problem. The
answer is that it only uses the "empty text node" trick for element content,
not for attribute content. For attribute content, xx="{a}{b}c{d}" is translated
into

attribute {'xx'} {concat(string-join(a, ' '), string-join(b, ' '), 'c',
string-join(d, ' '))}

which I think is perfectly sound.
Received on Tuesday, 11 March 2008 12:46:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:36 UTC