[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] What class of grammars is an XPath?
- From: Michael Kay <mike@saxonica.com>
- To: xml-dev@lists.xml.org
- Date: Thu, 27 Jan 2011 09:36:54 +0000
>
> Anyway, it is an interesting question. I think the same question could
> be asked, rephrased, as "what is the smallest class of formal grammars
> that every Xpath (evaluating to boolean) belongs to?"
>
I don't understand the question. There's no grammar that precisely
describes the set of documents for which the expression
sum(//order/@value) > 826
returns true. It's not a grammatical constraint.
Michael Kay
Saxonica
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]