Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370700

Summary: Do not ignore whitespace in mixed elements during loading
Product: [Automotive] Sphinx Reporter: Christian K. <christian.k.2510>
Component: CoreAssignee: Christian K. <christian.k.2510>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Christian K. CLA 2012-02-06 06:01:21 EST
Currently the SAX handler (ExtendedSAXXMLHandler) which is used to parse XML files ignores certain whitespace.
For mixed elements (i.a. XML Schema complexType with mixed="true") this whitespace might be significant and it should be passed on so that it will be part of the in-memory object model so that it can also be read/processed by applications/users.
Passing on the whitesoace is also a prerequisiste to make sure the whitespace will also be serialized back into the file duing model saving.
Comment 1 Christian K. CLA 2012-02-23 03:20:35 EST
ExtendedSAXXMLHandler has been adjusted to not ignore whitespace any longer.
Comment 2 Balazs Grill CLA 2021-07-14 02:14:10 EDT
Mass-closing Resolved tickets