W3C home > Mailing lists > Public > www-html@w3.org > May 2006

Re: Undefined types in XHTML Modularization Schemas

From: Christoph Schneegans <Christoph@Schneegans.de>
Date: Tue, 02 May 2006 23:53:22 GMT
To: <www-html@w3.org>
Message-ID: <e392ei.358.1@mail.christoph.schneegans.de>

Laurens Holst wrote:

> Maybe these posts that I wrote earlier will help you:
> http://lists.w3.org/Archives/Public/www-html-editor/2006AprJun/0015
> http://lists.w3.org/Archives/Public/www-html-editor/2006AprJun/0016

Wow. I added

. <http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml11.xsd>
. <http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml11-model-1.xsd>
. <http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml11-modules-1.xsd>
. <http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-basic10.xsd>
. <http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-basic10-model-1.xsd>
. <http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-basic10-modules-1.xsd>,

and the schemas compiled. Without any modification. In MSXML 5.0 and
.NET 2.0. That's it. Thanks a lot.

I then tried to validate a simple XHTML Basic document:

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
  <html xmlns="http://www.w3.org/1999/xhtml">

My validator says that the "html" was not declared. Indeed, there's a


declaration in
lacks such a declaration.

Okay, another simple document, XHTML 1.1 this time:

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  <html xmlns="http://www.w3.org/1999/xhtml">
  <p><a href="." onmouseover="foo()" onfocus="bar()" /></p>

My validator complains about the "onmouseover" attribute, but accepts
the "onfocus" attribute. See the following declaration in

    additional attributes on anchor element
    <xs:attributeGroup name="xhtml.a.events.attlist">
        <xs:attribute name="onfocus" type="xh11d:Script"/>
        <xs:attribute name="onblur" type="xh11d:Script"/>

The comment says that "onfocus" and "onblur" are "additional".
However, I can't find any indication that the "xhtml.Events.attrib"
attribute group, which declares the "onmouseover" attribute, is
applied to the "a" element type.

<http://schneegans.de/>                                              |
Received on Tuesday, 2 May 2006 23:58:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:13 UTC