OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XPath/XQuery - Typed Value Determination

[ Lists Home | Date Index | Thread Index ]

* Vladimir Gapeyev <vgapeyev@seas.upenn.edu> [2005-10-20 21:54]:
> 
> 
> On Thu, 20 Oct 2005, Alan Gutierrez wrote:
> 
> >   I'm confused by the wording of...
> >
> >   http://www.w3.org/TR/xpath-datamodel/#TypedValueDetermination
> >
> >   ...where it discusses the value value determination for lists.
> >
> >   "For each of these lexical forms, the type of the corresponding
> >   item is found in {item type definition}."
> >
> >   I can't figure out if the {item type definition} is attached to
> >   the list as a property, or an index property, or if it attached
> >   to the item within the list. The mention of recursion implies
> >   the latter.
> 
> I think one would need a larger quote to understand the question...:

    Yes. But, I didn't know what to quote, because I didn't
    understand the question myself. :)

> Brief answer: {item type definition} is a property of T, the
> schema's list _type_ that validated the value in question.  It is
> not a property the list _value_.
> 
> One could arrive to this understanding after meditating over WXS Part 2, 
> 4.1.1  http://www.w3.org/TR/xmlschema-2/#rf-defn

    Which means that a list defined in this section is a list of
    items that are of the same type, right?

    Thanks for the explaination and direction.

--
Alan Gutierrez - alan@engrm.com - http://engrm.com/blogometer/




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS