W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2004

[F&O]15.1.3.1 Examples fn:index-of

From: Margaret Grün-Kerr <margaret.gruen-kerr@altova.com>
Date: Fri, 13 Aug 2004 12:05:47 +0200
Message-ID: <4CCF1CC9801D3749B5E77D14111FEE64011E92@viepexc01.vie.altova.com>
To: <public-qt-comments@w3.org>
Cc: "Lobsang Gyalpo" <lobsang.gyalpo@altova.com>
This excerpt is from the
XQuery 1.0 and XPath 2.0 Functions and Operators
W3C Working Draft 23 July 2004 -  section 15.1.3.1 examples , fn:index-of

	If @a is an attribute of type xs:string* whose typed value is "red green blue", 
	then: fn:index-of (@a, "blue") returns 3. This is because the function calling mechanism 
	atomizes the attribute node to produce a sequence of three strings.

Could  an attribute  be of type xs:string* ? 
In my opinion in 
<x a="red green blue"/>
the the attribute a would atomize to  a single string value, not three.

regards
Margaret Grün-Kerr


... Margaret A. Grün-Kerr
... Quality Assurance Engineer
... Altova GmbH

===================================================================
xmlspy® 2004 - mapforce(tm) 2004 - authentic® 2004 - stylevision® 2004
Award-winning tools for developers, data architects, business-users
NEW: XML/Database/EDI Mapping with XSLT/Java/C#/C++ code generation 
Brand new  Advanced Text View,  XML-aware  Differencing and Merging
Customizable  XSLT Libraries,  Mapforce Engine  for instant preview
Database Reporting  to HTML and PDF via XSLT and XSL:FO Stylesheets
Visit  www.altova.com  to download your free evaluation copy today!
===================================================================

The information transmitted in this message and/or as an attachment
to it  is intended  only for the  person or  entity to  which it is
addressed and may contain confidential  and/or privileged material.
Any  review,  retransmission,  dissemination  or  other use of,  or
taking of any action in reliance upon,  this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error,  please contact  the sender  and delete the
material from any computer.  Altova GmbH  and  Altova, Inc.  do not
accept legal responsibility  for the contents of this message.  Any
views or opinions  presented are solely  those of the author and do
not  necessarily  represent those of  Altova GmbH and  Altova, Inc.
unless otherwise specifically stated. Thank you!

[
Received on Friday, 13 August 2004 10:06:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:55 UTC