On Jul 15, 2009, at 4:53 PM, Adam R. Maxwell wrote: > > On Jul 15, 2009, at 7:49 AM, Christiaan Hofman wrote: > >> >> On Jul 15, 2009, at 4:44 PM, Adam R. Maxwell wrote: >> >>> On Jul 15, 2009, at 6:28 AM, SourceForge.net wrote: >>> >>>> Bugs item #2821650, was opened at 2009-07-15 06:04 >>>> https://sourceforge.net/tracker/?func=detail&atid=497423&aid=2821650&group_id=61487 >>>> >>>> Comment By: ssp (ssssssp) >>>> Date: 2009-07-15 14:29 >>>> As far as I can tell, dropping empty elements is considered a >>>> feature >>>> rather than a bug. At least the removal of empty elements is >>>> documented in >>>> the NSError returned by the -init... method, so it seems >>>> intentional rather >>>> than an oversight. >>> >>> Does using NSXMLNodePreserveEmptyElements when creating the document >>> help with this problem? >> >> I don't see that, as we don't create the NSXMLNodes. > > But it could be passed when creating the NSXMLDocument, along with > NSXMLDocumentTidyHTML. It's just a guess, since I haven't tried it.
It's an option for NSXMLNode, and the options for NSXMLDocument are explicitly listed, it doesn't include this option. Christiaan ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Bibdesk-develop mailing list Bibdesk-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-develop