I've just committed the test and the following changes to trunk:
- if the type is simple then all the characters are reported as they appear in the xml
content
- if the type doesn't allow text content then all the characters are ignored
- otherwise it depends on the value of SchemaBinding.isIgnoreWhitespacesInMixedContent()
For now, the default for the ignoreWhitespacesInMixedContent is true for backwards
compatibility. But we can discuss this. On one hand, it's ok to report whitespaces and
line breaks between elements as the text content in this case, on the other hand it may
not be desirable.
Another question is if ignoreWhitespacesInMixedContent is true then should indentation be
reported as an empty string or null.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054292#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...