Re: [xml] shouldn't xmlNodeDumpOutputInternal obey xml:space="preserve"?
- From: Daniel Veillard <veillard redhat com>
- To: Chris Ryland <cpr emsoftware com>
- Cc: XML List <xml gnome org>
- Subject: Re: [xml] shouldn't xmlNodeDumpOutputInternal obey xml:space="preserve"?
- Date: Sun, 1 Jun 2003 18:59:27 -0400
On Sun, Jun 01, 2003 at 04:43:08PM -0400, Chris Ryland wrote:
Shouldn't the code, where it scans the children for TEXT or ENTITY node
(when format == 1), also check that xml:space="preserve" isn't in
effect for the current node and disable formatting if it is?
At least that's how I read it--it would give you the best of both
worlds: formatting except where space preservation is marked as
critical.
I have yet to see a real XML instance (i.e. outside of testsuite) with
any xml:space set ... I don't think we can rely on this in practice...
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]