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

[Bug 9258] Static typing tests do not account for earlier static error

From: <bugzilla@wiggum.w3.org>
Date: Mon, 29 Mar 2010 18:56:00 +0000
To: public-qt-comments@w3.org
Message-Id: <E1NwK80-0005K0-Hs@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9258





--- Comment #14 from Josh Spiegel <josh.spiegel@oracle.com>  2010-03-29 18:56:00 ---
OK, then could we do a slight variation on your original suggestion?
"@name" to "@name treat as attribute(name, xs:string)"

or even 
"@name" to "data(@name) treat as xs:string"

Sorry, I am not trying to be difficult :)   

With your original suggestion, our implementation detects that even with the
treat expression, it is impossible for "attribute (name, anyAtomicType)" to
become "xs:string" at runtime so it still fails statically.  Note, the input to
the treat expression is not atomized. 


-- 
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 Monday, 29 March 2010 18:56:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:59 GMT