Talk:Structured document

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Compliance, conforming, well-formedness[edit]

In XML, if I am not mistaken, well-formedness refers to the general XML purely syntactical rules, like closing elements, properly embedding them (closing them in the reverse order) et cetera. Compliance, conforming (?) is a step further, it is relative to a particular DTD or schema and to the semantics of the elements. Some editors and parsers are only aware of the well-formedness. Some others are DTD-aware.

Markup may be considered as syntactical by opposition to the contents of the document but correct use of markup elements involves the semantics of these elements.

One should be careful with these in the article. This is a very interesting and important subject. Also there surely are a lot of pages already on related matters (TEI, DITA, Docbook…) this page should link to. Dominique Meeùs (talk) 11:55, 11 August 2010 (UTC)[reply]