W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2010

[Bug 9302] [XQuery11] How are output declarations processed?

From: <bugzilla@jessica.w3.org>
Date: Tue, 04 May 2010 14:42:46 +0000
To: public-qt-comments@w3.org
Message-Id: <E1O9JKg-0006Jg-NX@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9302





--- Comment #2 from Jonathan Robie <jonathan.robie@redhat.com>  2010-05-04 14:42:45 ---
I think this is best resolved by:

1. Specifying a format for a list of pairs in a character map. This may be a
bit of a bike shed, I think a string literal encoded in Python's map syntax
would make sense here:

declare option output:use-character-maps "{ 
  "" :"&lt;%", 
  "" : "%&gt;"
  "" : '"'
 }"; 

Or we could delimit the pairs in some other way, e.g. using [] or ().


declare option output:use-character-maps "{
  ["" ,"&lt;%"], 
  ["" , "%&gt;"], 
  ["" , '"'] 
}"; 


2. Raising err:XPST0081 if the prefix of a lexical QName in a serialization
parameter is not defined.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 4 May 2010 14:42:48 UTC

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