W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2011

[Bug 14448] Chameleon transformations

From: <bugzilla@jessica.w3.org>
Date: Thu, 29 Dec 2011 10:56:18 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1RgDek-0001AT-8I@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=14448

--- Comment #4 from Michael Kay <mike@saxonica.com> 2011-12-29 10:56:16 UTC ---
I have compared this carefully with the version I have been using internally in
my implementation. Generally it looks OK and better than my attempt.

I think that the only fault I can find is that it would be better to replace

resolve-QName(string(.), ..)

with

resolve-QName(normalize-space(.), ..)

on lines 34 and 38, because resolve-QName (probably) does not strip leading and
trailing whitespace from its argument. (One might also common up this
expression into a variable.)

-- 
Configure bugmail: https://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 Thursday, 29 December 2011 10:56:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 December 2011 10:56:21 GMT