On 05/08/2013 03:33, Vincent Lefevre wrote:
This is rather confusing as the XSLT spec

   http://www.w3.org/TR/xslt

says: "If the indent attribute has the value yes, then the xml output
method may output whitespace in addition to the whitespace in the
result tree (possibly based on whitespace stripped from either the
source document or the stylesheet) in order to indent the result
nicely; if the indent attribute has the value no, it should not output
any additional whitespace. The default value is no."
                            ^^^^^^^^^^^^^^^^^^^^^^^

So, though the behavior is not really disallowed by the spec, I would
have expected indent="no" to give the same result as no indent
attribute. Unfortunately this is not documented, at least in the
man pages, and this change hasn't been announced either.

I think it's a good compromise. The change is related to this bug report:

https://bugzilla.gnome.org/show_bug.cgi?id=652766

I agree that this should be documented somewhere. If this issue is important to you, I'd suggest you file a bug report at bugzilla.gnome.org or take it to the libxslt mailing list (x...@gnome.org) where you're more likely to get answers.

Nick


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to