[Bug 29355] IXMLDOMDocument::save() doesn't output xml declaration

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 6 08:56:17 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=29355

Nikolay Sivov <bunglehead at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1

--- Comment #3 from Nikolay Sivov <bunglehead at gmail.com> 2012-01-06 08:56:17 CST ---
This was intentional as I remember, the reason is that we didn't want to depend
on XML_SAVE_NO_DECL flag being supported so I switched off both declarations -
one from fake node and one from libxml2 in case it is supported.

There's a problem that can't be solved actually - with msxml it's possible to
manually add declaration node with DOM methods and set desired encoding as
attribute, so output encoding is determined by it. This is not handled at all
as I remember.

What we need it a document saving rewrite that doesn't depend on libxml2
features and fixes some not-well specified cases or MS historical things like
double char line endings for example.

This is still a valid bug obviously, that should be fixed.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list