- From: Liam Quin <liam@w3.org>
- Date: Thu, 10 Sep 2015 20:36:02 -0400
- To: "Robie, Jonathan" <jonathan.robie@emc.com>
- Cc: Michael Kay <mike@saxonica.com>, Josh Spiegel <josh.spiegel@oracle.com>, Public Joint XSLT XQuery XPath <public-xsl-query@w3.org>
On 2015-09-10 16:52, Robie, Jonathan wrote:
> Suppose we did this:
>
> ExtStringConstructor ::= "~~|" ExtStringText "|~~"
> ExtStringText := ((Char* - "~~{") | "~~{" Expr "}~~")*
>
> That makes our earlier example look like this:
>
> ~~| ~~{ "${" }~~ |~~
I think this is workable.
[...]
> Since you can embed any arbitrary expression, you can effectively do
> an escape by assigning a sequence to a string variable.
The spec should note this.
The following should be legal though:
~~| this is ~~{ a ~~|nested example|~~ here }~~ you see |~~
Similarly,
~~| ~~{
" }~~ |~~" (: just a string :)
}~~ |~~
should be possible I think.
Liam
--
Liam Quin, W3C
XML Activity Lead;
Digital publishing; HTML Accessibility
Received on Friday, 11 September 2015 00:36:12 UTC