XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Polyglot XHTML5 Validator?

Hi David

Thanks for Schematron schema for validating polyglot XHTML6:
http://lists.w3.org/Archives/Public/public-html/2010Dec/att-0172/poly.sch

I think I have found a bug:

<sch:assert test="matches(name(),'^[a-z]+$')">
elements should use lower case names (<sch:value-of select="name()"/>)
</sch:assert>

You have forgotten that we have element names containing digits, h1-h6.
Should probably be corrected to something like the following:

<sch:assert test="matches(name(),'^[a-z|1-6]+$')">
elements should use lower case names (<sch:value-of select="name()"/>)
</sch:assert>

Cheers,
Jesper Tverskov
http://www.xmlplease.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS