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

Re: Undefined types in XHTML Modularization Schemas

From: Alexandre Alapetite <alexandre@alapetite.net>
Date: Sun, 04 Jun 2006 16:06:42 +0200
Cc: "'Christoph Schneegans'" <Christoph@schneegans.de>
To: www-html@w3.org
Message-ID: <000001c687e0$1ab659a0$f9043f50@athlon1100>

Hi Christoph,
Yes, you are right, the problem is real but my solution was wrong: the  
XHTML 1.1 XML Schema lacks a reference to events
attributes such as "onmouseover" etc., but the events attributes must be  
linked from the XHTML 1.1 driver, in order to avoid
affecting XHTML modules, which are also used by other drivers such as  
XHTML Basic.

I suggest a new correction to this problem, in the "module of common  
content models for XHTML 1.1"
adding a reference to a group defined in the events

Lines 52-69 of xhtml11-model-1.xsd:

         <xs:documentation> Extended Common Attributes </xs:documentation>
             <xs:documentation> "style" attribute from Inline Style Module  
         ref="xhtml.Events.attrib"><!-- Reference to attribute group added  
             <xs:documentation> Attributes from Events Module  

Apart from that and as you said  
[http://lists.w3.org/Archives/Public/www-html/2006May/0009.html], the XML  
Schema for XHTML Basic
needs also a correction to allow the <html> element.

Here is an XHTML Basic example  
[http://www.w3.org/People/mimasa/test/schemas/xhtml-basic-sample.xml] that  
is not working with
the current XHTML Basic XML Schema  

It is interesting to note that an earlier version of the XML Schema for  
XTHML Basic does work
[http://www.w3.org/MarkUp/SCHEMA/xhtml-basic10.xsd] (2005-04-20). So this  
is a problem that has been recently introduced.

Since XHTML Modularisation is still a "Proposed Recommendation", I hope  
that those issues will be addressed soon. Otherwise
indeed, some bugs that have been known for years (e.g. more than 4 years  
for an error in the official XHTML Basic DTD
have unfortunately not been
corrected yet.


---- Original Message ----
From: Christoph Schneegans <Christoph@Schneegans.de>
Date: Thu, 01 Jun 2006 18:41:27 GMT
To: <www-html@w3.org>
Message-ID: <e5njdn.2mg.1@mail.christoph.schneegans.de>

I'm afraid it's not that simple. Modifications in xhtml-attribs-1.xsd
also affect the XHTML Basic schema. Now when I try to compile
xhtml-basic10.xsd with MSXML 2.0, I get this error message:

   xhtml-attribs-1.xsd#/schema/attributeGroup[6][@name =  
   attributeGroup '{http://www.w3.org/1999/xhtml}xhtml.Events.attrib' is  
not defined.

Received on Tuesday, 6 June 2006 09:20:31 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:59 UTC