Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: empty xml element spanning multiple lines empty xml element spanning multiple linesTo: NULL Date: 3/23/2009 12:50:00 PM I've working on processing xml from an external source (who I can contact to change things if they turn out to be incorrect) and in their xml documents empty elements span multiple lines e.g. <element> </element> rather than <element /> or <element></element>. When I'm parsing the xml the text of the element is '\n' which is what I would expect, but not what they intend - it should be null or an empty string or whatever. Is what they're doing wrong in expressing an empty element, or is it simply ugly (but not wrong)? TIA | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
