24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Author</strong>ing in the Visual Editor | 96Figure 60: Error presenting in <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> <strong>Author</strong> editorA fragment with a validation error or warning will be marked by underlining the error region with a red color. The samewill happen for a validation warning, only the color will be yellow instead of red.• The top area - a success validation indicator that will turn green in case the validation succeeded or red otherwise.• The middle area - the errors markers are depicted in red. The number of markers shown can be limited by modifyingthe setting Window > Preferences > oXygen > Editor > Document checking > Maximum number of errorsreported per document.Status messages from every validation action are logged into the Console view.Whitespace HandlingThere are several major aspects of white-space handling in the <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> editor which are important in thefollowing cases:• when opening documents• when switching from other editing mode to <strong>Author</strong> mode• when saving documents in <strong>Author</strong> mode• when switching from <strong>Author</strong> mode to another one• Open documents - When deciding if the white-spaces from a text node are to be preserved, normalized or stripped,the following rules apply:• If the text node is inside an element context where the xml:space="preserve" is set then the white-spacesare preserved.• If the CSS property white-space is set to pre for the node style then the white-spaces are preserved.• If the text node contains other non-white-space characters then the white-spaces are normalized.• If the text node contains only white-spaces:• If the node has a parent element with the CSS display property set to inline then the white-spaces arenormalized.• If the left or right sibling is an element with the CSS display property set to inline then the white-spacesare normalized.• If one of its ancestors is an element with the CSS display property set to table then the white-spacesare striped.• Otherwise the white-spaces are ignored.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!