Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370700 - Do not ignore whitespace in mixed elements during loading
Summary: Do not ignore whitespace in mixed elements during loading
Status: CLOSED FIXED
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Christian K. CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-06 06:01 EST by Christian K. CLA
Modified: 2021-07-14 02:14 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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