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

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