My favorites | Sign in
Project Home
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 17: Blank <text /> nodes are added to the tree structure.
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Jul 2008


 
Reported by jesseco...@gmail.com, Jul 19, 2008
What steps will reproduce the problem?
1. use an xml string with blank space and line breaks between xml tags 

What is the expected output? What do you see instead?
these shouldnt be created.
*blank <text /> nodes are added to the xml tree structure


What version of the product are you using? On what operating system?
Revision 96

Please provide any additional information below.
none

 
Jul 21, 2008
Project Member #1 jwight
That really seems to be a problem with libxml2. I wonder if there is a flag that we can set that will eliminate this 
behavior. Failing that we could fix it in the CXML* layer too.

Any suggestions?
Jul 21, 2008
#2 jesseco...@gmail.com
i was in a hurry so i just removed the extra blank space and line breaks before
passing the string to the CXMLDocument initWithXMLString: initializing function.

i have never used libxml2 at a low level before. sorry.
Jul 26, 2008
Project Member #3 jwight
The libxml2 function "xmlKeepBlanksDefault" seems to control this behavior. But from reading of it I'm not 100% 
clear how we should progress.

My vote is for keeping current behavior.
Status: WontFix
Labels: TouchXML

Powered by Google Project Hosting