Project

Profile

Help

Bug #1534

Updated by Michael Kay almost 12 years ago

Setting setting up a s9api saxon pipeline consisting of two XsltTransformer objects followed by a Serializer: the whose first transformer's stylesheet sets omit-xml-declaration="no" and output method "xml", and whose second transformer's stylesheet sets omit-xml-declaration="no" but the omit-xml-declaration="yes" and output method "text", will generate a result contains containing the unwanted xml declaration. 

 This happens also in case the first transformer's stylesheet sets omit-xml-declaration="yes", or when the second transformer sets omit-xml-declaration="yes" via the saxon api (getting its underlying controller and setting the output property) 

 Use the files in attachment to reproduce the problem

Back