W3C home > Mailing lists > Public > public-expath@w3.org > March 2013

Re: An type for octets in the Binary Module

From: Florent Georges <fgeorges@fgeorges.org>
Date: Thu, 14 Mar 2013 15:52:14 +0100
Message-ID: <CADyR_r0zH6vv1_yf5QVrrjvPESgMiBiJqPpbNir+=K++Dh7F1A@mail.gmail.com>
To: Adam Retter <adam@exist-db.org>
Cc: EXPath CG <public-expath@w3.org>
On 14 March 2013 14:43, Adam Retter wrote:

>>   So if I understand correctly, binary-to-octets() returns
>> xs:integers because xs:byte <http://w3.org/TR/xmlschema-2/#byte>
>> is not supported by XQuery nor by XSLT/Basic.

> Er... what?
> http://www.w3.org/TR/xpath-datamodel/#types-hierarchy

  Yes sorry, xs:byte is supported in XQuery.  But not because of
XDM.  XDM defines the hierarchy (based on XML Schema), but XPath
does not mandate all of them to be in the static context.  But
XQuery does, you are right.  XSLT Basic only mandates primitive
atomic types, whilst XSLT SA mandates all of them (the profiles
in XSLT 3.0 is still a work in progress).

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
Received on Thursday, 14 March 2013 14:53:06 GMT

This archive was generated by hypermail 2.3.1 : Thursday, 14 March 2013 14:53:06 GMT