← Back to team overview

zorba-coders team mailing list archive

[Bug 867042] Re: Add support for character maps in serializer

 

Why is this marked as invalid?

The query below:

let $sp :=
  <serialization-parameters
      xmlns="http://www.w3.org/2010/xslt-xquery-serialization";>
    <use-character-maps>
      <character-map character="#" map-string="123"/>
    </use-character-maps>
  </serialization-parameters>
return
  fn:serialize(<my>#abc</my>, $sp)

issues the result:

&lt;my&gt;#abc&lt;/my&gt;

Shouldn't this be:

&lt;my&gt;123abc&lt;/my&gt;

?

** Changed in: zorba
       Status: Invalid => New

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867042

Title:
  Add support for character maps in serializer

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Zorba serializer does not seem to support character maps.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867042/+subscriptions