[Bug 20291] [XT3TS] assert-serialization

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20291

Abel Braaksma <abel.braaksma@xs4all.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |abel.braaksma@xs4all.nl
         Resolution|---                         |FIXED

--- Comment #10 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
Insofar I can see, tests that were compromised by comparing unindented output
files with indented serialized XML or HTML, or vice versa, have been fixed by
removing the indentation requirement.

Some of these fixes were very recent in light of fixing other bugs, like bug
28430 and bug 28416, other fixes have been done when we encountered them.

I just queried all XSLT tests and there are only 17 items left that use HTML
output and explicit/implicit indentation. These are all xsl:output tests, so
they are actually meant to test indentation.

To answer your original question:

> When a stylesheet has no xsl:output element, or has an xsl:output which does 
> not have an @indent attribute, should we assume that it is @indent = 'no'?  
> The test suite seems inconsistent.

This is now covered by the assert-serialization, serialization-matches and the
serialize/@value elements in the XT3 XSD. The assert-xml now has an explanation
that states it should be compared with indent="no", method="xml" and
omit-xml-declaration="yes". For serialization, it is whatever is in the
stylesheet, but this should be with indent="no" for all intents and purposes.

Marking this bug as resolved.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 8 April 2015 00:04:41 UTC