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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The <strong>XML</strong> Syntax rules for Well-Formed <strong>XML</strong> are:• All <strong>XML</strong> elements must have a closing tag.• <strong>XML</strong> tags are case sensitive.• All <strong>XML</strong> elements must be properly nested.• All <strong>XML</strong> documents must have a root element.• Attribute values must always be quoted.• With <strong>XML</strong>, white space is preserved.The namespace-wellformed rules are:• All element and attribute names contain either zero or one colon.• No entity names, processing instruction targets, or notation names contain any colons.The namespace-valid rules are:• The prefix xml is by definition bound to the namespace name http://www.w3.org/<strong>XML</strong>/1998/namespace. It MAY,but need not, be declared, and MUST NOT be undeclared or bound to any other namespace name. Other prefixesMUST NOT be bound to this namespace name.• The prefix xmlns is used only to declare namespace bindings and is by definition bound to the namespace namehttp://www.w3.org/2000/xmlns/. It MUST NOT be declared or undeclared. Other prefixes MUST NOT be bound tothis namespace name.• All other prefixes beginning with the three-letter sequence x, m, l, in any case combination, are reserved. This meansthat users SHOULD NOT use them except as defined by later specifications and processors MUST NOT treat themas fatal errors.• The namespace prefix, unless it is xml or xmlns, MUST have been declared in a namespace declaration attribute ineither the start-tag of the element where the prefix is used or in an ancestor element (i.e. an element in whose contentthe prefixed markup occurs). Furthermore, the attribute value in the innermost such declaration MUST NOT be anempty string.If you select menu Document > Validate > Check Well-Formedness (Alt+Shift+V W (Cmd+Alt+V W on Mac)) orclick the toolbar button Check Well-Formedness <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> checks if your document isNamespace Well-Formed <strong>XML</strong>. If any error is found the result is returned to the message panel. Each error is one recordin the result list and is accompanied by an error message. Clicking the record will open the document containing theerror and highlight its approximate location.A not Well-Formed <strong>XML</strong> DocumentWhen Check Well-Formedness is performed the following error is raised:The element type "tag" must be terminated by the matching end-tag""To resolve the error, click in the result list record which will locate and highlight the errors approximateposition. Identify which start tag is missing an end tag and insert .Editing Documents | 55A not namespace-wellformed documentWhen Check document form is performed the following error is raised:Element or attribute do not match QName production:QName::=(NCName':')?NCName.

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

Saved successfully!

Ooh no, something went wrong!