[xml] shouldn't xmlNodeDumpOutputInternal obey xml:space="preserve"?



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.

Cheers!
--Chris Ryland / Em Software, Inc. / www.emsoftware.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]