https://bugs.freedesktop.org/show_bug.cgi?id=67485

--- Comment #4 from David Tardon <[email protected]> ---
(In reply to comment #3)
> Of note, http://www.w3.org/TR/2008/REC-xml-20081126/#sec-starttags (see
> production [43]) PIs are defined as legal content.

This is a description of structure. PIs are element 'content' as they can
appear inside an element. (Note that comments are 'content' too. And so are
CDATA sections. I do not think you will argue that CDATA sections must be
preserved exactly as they are.)

It has nothing to do with semantics.

> 
> While the application need not interpret PIs, they are defined as content,
> so it would seem that they should be preserved when the document is resaved?

No, it would not seem (see above). Anyway, it looks like the authors of XSLT
agree with my interpretation, because PIs are discarded by the built-in rules
(therefore, I guess 99.9 % of existing stylesheets discards them).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to