Re: Types defines in F & O and WXS 1.1

Michael Rys wrote:

>The original discussion (and I thought agreement) was that WXS 1.1 would
>simply refer to the XQuery types (including namespaces) where
>appropriate.
>
>I have not looked at WXS 1.1 yet, but if that is not the case, then I
>think there is a problem...
>  
>
The XML Schema Working Draft from 17 January [1] added anySimpleType,
anyAtomicType, yearMonthDuration and dayTimeDuration, but added them
in their own namespace, not in the XQuery namespace. That means that
XML Schema and XQuery use different names for these types.

I think this is a problem. We can't say how we map from the Schema 1.1
types to our data model, because we do not yet do our mapping based on
XML Schema 1.1. It also makes little sense to ask XML Schema to use
our namespace for these types.

I think the simplest thing to do is to have XQuery adopt the XML
Schema 1.1 names for these types. That would also simplify naming of
types in XQuery.

Jonathan

[1] http://www.w3.org/TR/2006/WD-xmlschema11-2-20060116/

-- 
Read my Blog: http://blogs.datadirect.com/jonathan_robie/
Learn XQuery: http://media.datadirect.com/download/docs/ddxquery/tutorial_query.html
Learn XQJ (the JDBC for XQuery): http://www.datadirect.com/developer/xquery/topics/xqj_tutorial/
Get DataDirect XQuery: http://www.datadirect.com/products/xquery/

Received on Monday, 23 January 2006 19:28:42 UTC