W3C home > Mailing lists > Public > public-xhtml2@w3.org > August 2008

Re: XML Events 2 Scripting Module in XHTML 2

From: Roland Merrick <roland_merrick@uk.ibm.com>
Date: Thu, 7 Aug 2008 09:51:42 +0100
To: Shane McCarron <shane@aptest.com>
Cc: XHTML WG <public-xhtml2@w3.org>, public-xhtml2-request@w3.org
Message-ID: <OFF01E6948.18F67AE8-ON8025749E.002F8CF3-8025749E.0030B3BC@uk.ibm.com>
Greetings Shane, I think that we are moving in the direction of a 
consensus on having both handler and script elements and that the script 
element should be backwards-compatible. This implies that the script 
element should have an @type attribute. 

If the script element has @type, I would expect handler to also have 
@type. I also wonder why we cannot use @type rather than @srctype in XHTML 

Regards, Roland

Shane McCarron <shane@aptest.com>
XHTML WG <public-xhtml2@w3.org>
21/07/2008 02:49
XML Events 2 Scripting Module in XHTML 2

While editing XHTML 2 tonight, attempting to make all of the external 
references hang together, I noticed something that I don't know the 
solution for:

If we are integrating XML Scripting into the XHTML namespace (as we have 
planned to do) then the script element will bring with it the attributes 
"encoding", "implements", "src", and "type".  Naturally, we also want 
the "script" element to take the Common attributes, which perforce 
include the Metainformation attributes (RDFa), the embedding attributes 
from XHTML 2, etc...  Now @src and @encoding from the Embedding module 
are probably consistent with what we meant for the script element.   So 
that's fine.  I think.  Correct me if I am wrong.

@implements is a new thing, and there is no conflict.

@type...   XML Events 2 goes to great pains to explain what @type 
means.... and I think it is exactly what is meant by @srctype in XHTML 
2.  So... I am not sure what to do here.  We can change @type to 
@srctype in XML Events 2.  We can bring in @type on the script element, 
also bring in @src, and just have the script element reference the 
Common attributes collection (use a subset that makes sense, but does 
not include the embedding attributes).... or maybe something else. 


Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Received on Thursday, 7 August 2008 08:52:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:30:30 UTC