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 
2.

Regards, Roland




From:
Shane McCarron <shane@aptest.com>
To:
XHTML WG <public-xhtml2@w3.org>
Date:
21/07/2008 02:49
Subject:
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. 

Help?

-- 
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 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Received on Thursday, 7 August 2008 08:52:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 February 2010 18:12:49 GMT