serializer crash when including-content-type

Bug #940673 reported by Matthias Brantner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Nicolae Brinza

Bug Description

The serializer crashes with the following query:

import schema namespace output = "http://www.w3.org/2010/xslt-xquery-serialization";

fn:serialize(
  fn:parse-xml("<stack/>"),
  <output:serialization-parameters>
    <output:method value="html"/>
    <output:include-content-type value="yes"/>
  </output:serialization-parameters>
)

The problem occurs when trying to add the meta element because of the include-content-type option. It only happens if the element to serialize results from parsing it (i.e. it works with a direct constructor).

tags: added: serialization
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.