You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain whitespace is not recognized as such by the editor. For example, the following XML is fine:
<cei:tenor><cei:pTenor>paragraph with text</cei:pTenor>text after paragraph</cei:tenor>
However, if a space or line break is introduced between the opening tags ...
<cei:tenor> <cei:pTenor>paragraph with text</cei:pTenor>text after paragraph</cei:tenor>
... this is not recognized as a text node by the editor window, but is recognized for the counting of the contextId in updateTextNode (if I interpret this correctly). As a result, any change to 'text after paragraph' is inserted into this empty node:
<cei:tenor>text after paragraph 123<cei:pTenor>paragraph with text</cei:pTenor>text after paragraph</cei:tenor>
This is not specific to any element, and appears to happen wherever there is mixed content with whitespace between mixed element tags.
The text was updated successfully, but these errors were encountered:
Most immediate conclusion would be to simply avoid adding any unnecessary whitespace into charter files, such as e.g. automatic formatting & indenting.
Certain whitespace is not recognized as such by the editor. For example, the following XML is fine:
<cei:tenor><cei:pTenor>paragraph with text</cei:pTenor>text after paragraph</cei:tenor>
However, if a space or line break is introduced between the opening tags ...
<cei:tenor> <cei:pTenor>paragraph with text</cei:pTenor>text after paragraph</cei:tenor>
... this is not recognized as a text node by the editor window, but is recognized for the counting of the
contextId
in updateTextNode (if I interpret this correctly). As a result, any change to 'text after paragraph' is inserted into this empty node:<cei:tenor>text after paragraph 123<cei:pTenor>paragraph with text</cei:pTenor>text after paragraph</cei:tenor>
This is not specific to any element, and appears to happen wherever there is mixed content with whitespace between mixed element tags.
The text was updated successfully, but these errors were encountered: