[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XHTML, xml-stylesheet etc. attribute values casesensitive?

  • From: Bjoern Hoehrmann <derhoermi@g...>
  • To: heikki@n... (Heikki Toivonen)
  • Date: Wed, 26 Sep 2001 21:57:19 +0200

xml stylesheet xhtml
* Heikki Toivonen wrote:
>The XHTML 1.0 specification states that element and attribute names must 
>be lower case, but it does not say anything about attribute values. 
>Clearly script-related attributes like onload, onclick etc. are case 
>sensitive, as is the value of the style attribute. So to me it would 
>seem logical that all attribute values in XHTML should be case 
>sensitive, and preferably lower case. Is this being addressed anywhere?

Case-sensitivity of attribute values depends on the value type. As you
said, attribute values with script content depend on the
case-sensitivity of the scripting language. Some attribute values have
predefined lists of valid values, e.g. the method attribute of the form
element, these are case-sensitive through the case-sensitivity of XML,
others are case-insensitive through the normative reference to HTML 4,
e.g. the type attribute of the style element. AFAICT this will be more
clearly stated in XHTML 1.0 Second Edition.

>A related issue is the Associating Stylesheets with XML Documents 
>specification. It refers to HTML 4.0 for the semantics of the 
>pseudo-attribute values. That spec predates XHTML 1.0, but it would seem 
>logical that it should refer to XHTML 1.0 now.

XHTML 1.0 defines them through normative refernce to HTML 4... The
xml-stylesheet recommendation needs to resolve a lot of unadressed
issues; it doesn't really matter where the semantics are defined for
these pseudo-attributes in the current recommendation.
Björn Höhrmann { mailto:bjoern@h... } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.