Mary, thanks for the clarification on the compatibility problem. We'll
use workarounds in the meantime.

David S.

On Wed, 23 Aug 2006, Mary Holstege wrote:

> On Wed, 23 Aug 2006 06:49:17 -0700, David Sewell <[EMAIL PROTECTED]> wrote:
>
> > Colleen,
> >
> > As I understand the W3C documentation on "xml:id Version 1.0"
> >
> >     http://www.w3.org/TR/xml-id/
> >
> > an XML processor that supports xml:id is supposed to assign a data type
> > of ID to @xml:id whether or not there is any schema definition for the
> > XML document. The way that this gets reported to the application is
> > implementation dependent:
> >
> >     http://www.w3.org/TR/xml-id/#inform
> >
> > So if xml:id support is implemented in ML Server, any xml:id attribute
> > will have an xs:ID type by the time fn:id() operates on the data. There
> > shouldn't be a compatibility issue with the May 2003 XQuery spec, I
> > don't think.
>
> There is, however. What matters here is not the definition of xml:id
> but the definition of fn:id().  It was only in November that the XQuery
> group agreed to tie xml:id to the definition of fn:id().  Until that point,
> only the declared type of an attribute mattered.  Since the original schema
> for the xml: namespace did not have an xml:id attribute defined in it,
> any use of that attribute would show up as untyped and therefore, not
> an ID in the sense that fn:id understands it.  We do plan to address
> this in a future release, however.
>
> Cheers
>
> //Mary
>
> Mary Holstege
> Lead Engineer
> Mark Logic Corporation
> 2000 Alameda de las Pulgas
> Suite 100
> San Mateo, California  94403
> +1 650 655 2336 Phone
> [EMAIL PROTECTED]
> www.marklogic.com
> _______________________________________________
> General mailing list
> [email protected]
> http://xqzone.com/mailman/listinfo/general
>

-- 
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 400318, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: [EMAIL PROTECTED]   Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to