Download XML Editor 11.2 User Manual
Transcript
Editing documents Figure 4.19. The Entities View Validating XML documents The W3C XML specification states that a program should not continue to process an XML document if it finds a validation error. The reason is that XML software should be easy to write, and that all XML documents should be compatible. With HTML it was possible to create documents with lots of errors (like when you forget an end tag). One of the main reasons that HTML browsers are so big and incompatible, is that they have their own ways to figure out what a document should look like when they encounter an HTML error. With XML this should not be possible. However, when creating an XML document, errors are very easily introduced. When working with large projects or many files, the probability that errors will occur is even greater. Determining that your project is error free can be time consuming and even frustrating. For this reason <oXygen/> provides functions that enable easy error identification and rapid error location. Checking XML well-formedness A Well-Formed XML document is a document that conforms to the XML syntax rules. A Namespace Well-Formed XML document is a document that is Well-Formed XML and is also namespace-wellformed and namespace-valid. The XML Syntax rules for Well-Formed XML are: • All XML elements must have a closing tag. • XML tags are case sensitive. • All XML elements must be properly nested. • All XML documents must have a root element. • Attribute values must always be quoted. • With XML, 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: 50
Related documents
XML Editor 10.3 User Manual for Eclipse
Oxygen XML Author 12.2
XML Editor 10.3 User Manual
XML Author 10.3 User Manual
XML Author 11.2 User Manual for Eclipse
XML Author 10.3 User Manual for Eclipse
Oxygen XML Author Eclipse Plugin 15.2
XML Editor 11.2 User Manual for Eclipse
XML Author 11.2 User Manual
Oxygen XML Editor 16.1
Oxygen XML Developer Eclipse Plugin 16.1
XML Editor User Manual