Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] XHTML 2 Working Group won't be renewed?

From: Laurens van den Oever <laurens@-----.--->
To: "Simon St.Laurent" <simonstl@--------.--->
Date: 7/8/2009 3:43:00 PM
Simon St.Laurent <simonstl@s...> wrote:
> If you're scripting HTML, writing well-formed XHTML makes life vastly more predictable.
> The same is true to a lesser extent of CSS.

These problems are often underestimated. An example of the problems
you can encounter using HTML as a content storage format instead of
XHTML or another XML flavor consider the following:

<p class="para">text<ol><li>item</li></ol>text</p>

If you style this .para using CSS you will see that the second text
will not be styled. The <ol> will split the <p> and the class will
only be applied to the first text. This structure is not valid HTML,
but many HTML oriented tools will allow content authors to create such
structure because they are not strict (which is their main benefit).

Similarly:

<div>text<ol><li>item</li></ol>text</div>

vs

<div><p>text</p><ol><li>item</li></ol><p>text</p></div>

Both are valid HTML and will look the same without CSS, but when you
add CSS, both structures will be rendered differently:

ol { margin: 0 2em; }

These and related issues make restyling an HTML content repository
with more pages than you can manually check a nightmare and can make
an investment in X(HT)ML worthwhile.

Best regards,

Laurens van den Oever
CEO, Xopus BV

http://xopus.com
+31 70 4452345
KvK 27301795

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent