W3C home > Mailing lists > Public > www-tag@w3.org > June 2002

Re: Updated: issue qnameAsId-18

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Fri, 7 Jun 2002 16:13:35 -0400
Message-Id: <p04330103b926c3cb591a@[192.168.254.4]>
To: Norman Walsh <Norman.Walsh@Sun.COM>, www-tag@w3.org

At 3:19 PM -0400 6/7/02, Norman Walsh wrote:

>| What about the XSLT case? e.g.
>|
>| <xsl:apply-templates select =
>| "child::Person/child::name:First[following-sibling::name:MI = 'M']" />
>
>Given that XPath can't be "undone" at this point, there's no point
>saying that the use of QNames in XPath is wrong.
>

Yes.

>I think the finding needs to say something about XPath explicitly, but
>I haven't figured out what yet. Suggestions most gratefully accepted.
>

It occurs to me that one type the W3C XML Schema Language does not 
have is xsd:xpath; i.e. a string which is a legal XPath expression. 
And I doubt that could be defined as a regular expression. I'm not 
sure what relevance that has here, except as one more example of the 
limitations of schema types.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+
Received on Friday, 7 June 2002 18:10:47 UTC

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