Community
Participate
Working Groups
Created attachment 89028 [details] Patch to Fix NPE Build ID: I20071213-1700 Steps To Reproduce: 1. Create and populate an XML document 2. Create an element who has a parent that does not define the xml:space="preserve" attribute 3. Format just that element More information: When attempting to define the formatting constraints for a node, the DefaultXMLFormatter checks the constraints of the region's parent node. When attempting to determine the constraints of the parent node, an NPE is thrown because the parent constraints are null.
Created attachment 89035 [details] Patch to fix other potential NPEs Detected a few more cases where NPEs could occur.
fix looks good. released for this week's 3.0 m5 build
Reopening to clean up the record keeping. I don't like marking bugs as "fixed" when they're owned by the inbox.
Marking as fixed again.
verified in wtp 3.0 m5 20080211073521
mass change to add 'contributed' keyword based on bugzilla query, please correct if that's not accurate (by marking patches as obsolete and removing the 'contributed' keyword.