Project

Profile

Help

Bug #1534

closed

Setting omit-xml-declaration in a Saxon s9api pipeline does not produce a result with no xml declaration

Added by Andrea Bagnacani over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Serialization
Sprint/Milestone:
-
Start date:
2012-05-15
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

Setting up a s9api pipeline consisting of two XsltTransformer objects followed by a Serializer: the second stylesheet sets omit-xml-declaration="no" but the result contains the unwanted xml declaration.

Use the files in attachment to reproduce the problem


Files

Pipeline.java (2.44 KB) Pipeline.java java source file to be compiled Andrea Bagnacani, 2012-05-15 13:27
echo_given_sourcefile.xsl (376 Bytes) echo_given_sourcefile.xsl first transformer's xsl stylesheet Andrea Bagnacani, 2012-05-15 13:27
print_elements.xsl (845 Bytes) print_elements.xsl second transformer's xsl stylesheet Andrea Bagnacani, 2012-05-15 13:27

Please register to edit this issue

Also available in: Atom PDF