[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

fn:in-scope-prefixes

James A. Robinson jim.robinson at stanford.edu
Wed Feb 14 05:53:15 PST 2007


  fn:in-scope-prefixes
The XQuery 1.0 and XPath 2.0 Functions and Operators specification
has this to say about fn:in-scope-prefixes:
  
  11.2.6 fn:in-scope-prefixes
  fn:in-scope-prefixes($element as element()) as xs:string*

  Summary: Returns the prefixes of the in-scope namespaces for
  $element. For namespaces that have a prefix, it returns the prefix
  as an xs:NCName. For the default namespace, which has no prefix,
  it returns the zero-length string.

it does not promise that the xs:string* response will be distinct values.
Do people have any pointers to anything which might indicate whether or
not the function is or in not supposed to return unique values?

I had originally assumed the set would be unique, but reading that
spec paragraph leaves me unsure.

Jim

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
James A. Robinson                       http://x-query.com/mailman/listinfo/talk
Stanford University HighWire Press      http://highwire.stanford.edu/
+1 650 7237294 (Work)                   +1 650 7259335 (Fax)


Purchase Stylus Studio Online Today!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.