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

[F&O]15.1.3.1 Examples fn:index-ofMichael Kay suggested in http://lists.w3.org/Archives/Public/public-qt-comments/2004Aug/0080.html
that we could fix the bug by changing the type of the attribute to NMTOKENS.  This is a better idea.

All the best, Ashok 
  -----Original Message-----
  From: Ashok Malhotra [mailto:ashok.malhotra@oracle.com]
  Sent: Friday, August 20, 2004 10:05 AM
  To: Margaret Grün-Kerr; public-qt-comments@w3.org
  Cc: Lobsang Gyalpo
  Subject: RE: [F&O]15.1.3.1 Examples fn:index-of


  Margaret:
  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]15.1.3.1 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 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 - 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 Tuesday, 24 August 2004 15:32:41 UTC