| 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 |
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
Jul 21, 2008
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
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 |