[Bug 4273] [FS] data on element()

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





--- Comment #46 from Tim Mills <tim@cbcl.co.uk>  2009-02-17 09:30:34 ---
Regarding Comment #45, yes - I was talking about the 'preserve' case.  As this
is the default construction mode, I'm guessing casual users not realise the
benefits of 'strip'.

"When construction mode is 'preserve', it can't succeed because the XQuery
spec mandates a type annotation of xs:anyType for a constructed node, so
soundness dictates that FS can't infer anything more specific for the
constructor expression."

...and yet at runtime we can be sure that fn:data applied to such an element
will be xs:untypedAtomic.  Is there nothing that can be done to improve
matters?


-- 
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 Tuesday, 17 February 2009 09:30:47 UTC