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

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

From: Ashok Malhotra <ashok.malhotra@oracle.com>
Date: Fri, 20 Aug 2004 10:04:37 -0700
To: Margaret Grün-Kerr <margaret.gruen-kerr@altova.com>, public-qt-comments@w3.org
CC: Lobsang Gyalpo <lobsang.gyalpo@altova.com>
Message-ID: <20040820100437893.00000003112@amalhotr-pc>
[F&O] Examples fn:index-ofMargaret:
Thanks for your comment.  I think it's best to just remove the example.
All the best, Ashok 

  -----Original Message-----
  From: public-qt-comments-request@w3.org [mailto:public-qt-comments-request@w3.org]On Behalf Of Margaret Grün-Kerr
  Sent: Friday, August 13, 2004 3:06 AM
  To: public-qt-comments@w3.org
  Cc: Lobsang Gyalpo
  Subject: [F&O] Examples fn:index-of

  This excerpt is from the 
  XQuery 1.0 and XPath 2.0 Functions and Operators 
  W3C Working Draft 23 July 2004 -  section 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. 

  Margaret Grün-Kerr 

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

  xmlspy® 2004 - mapforceT 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, 20 August 2004 17:05:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:20 UTC