https://bugzilla.wikimedia.org/show_bug.cgi?id=9530

--- Comment #37 from Philippe Verdy <verd...@wanadoo.fr> 2010-12-07 19:22:11 
UTC ---
Yes XHTML 1.0 will be deprecated, but ony its "modular" design, that highly
depends on validation with external schemas that have to be declared in the
document.

But HTML5 does NOT deprecate the compatibility with XML and it explciitly says
that it will support TWO syntaxes for its serialization : the historical
SGML-based HTML syntax, AND the XML syntax. The inlydifference is that it will
not be modular and the schema for the validation of the content model will be
inferred. This means that you'll still be able to use an XML parser, but the
schema will not be specified by the document itself, so that the documetn can
be processed in "standalone" mode using a schema provided by the application
using the XML parser, instead of by the ocument or by the site producing it.

In other words, the XML contraints on names continue to apply to HTML5 for
strict conformance, otherwise it will not be possible to use an XML parser for
it, or to embed HTML5 in an XML document.

XHTML 1.0 is also abandonned because it created a fork from HTML in a separate
branch. HTML5 remerges the two branches and deprecates the modular design and
free extensions based on non-standard schemas.

Note also, that XML documents do not need to validate, but must still observe
the conformance rules. Even a non-validating XML parser will choke on invalid
ID's if they are presented with the "xml:id" pseudo-attribute. But I agree with
you, id's in HTML5 are not used with a "xml:id" pseudo-attribute, but by a
plain "id" attribute : if the XML parser does not validate the schema, it will
accept an "id" attribute containing anything. But as soon as you'll want to
build a schema for your XML parsed document, it will be impossible to use
anything else than the XML type name that restricts its value, if you want the
compatibility with schemas built for XHTML 1.0, unless you make this "id"
atribute into an unrestricted text type.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to