OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Case sensitivity

[ Lists Home | Date Index | Thread Index ]
  • From: Steve Schafer <pandeng@telepath.com>
  • To: <xml-dev@xml.org>
  • Date: Fri, 09 Jun 2000 09:18:30 -0500

On Fri, 9 Jun 2000 14:51:41 +0200, <szegedi@scriptum.hu> wrote:

>I wonder if the official XML spec expresses the case sensitivity of element
>names?
>
>Quick searching for "case" and "sensitive" in
>http://www.w3.org/TR/1998/REC-xml-19980210 reveals no explicit mentioning.
>There are some implicit statements regarding other names, i.e. for language
>codes: "Note that these values, unlike other names in XML documents, are
>case insensitive." This would imply that other names ARE case sensitive,
>however this is no clear expression of case sensitivity.

It is expressed somewhat indirectly, via well-formedness constraints,
validity constraints, etc. Regarding element names in particular, the
WFC in section 3. is:

"Element Type Match: The Name in an element's end-tag must match the
element type in the start-tag."

and the following VC contains:

"Element Valid: An element is valid if there is a declaration matching
elemenetdecl where the Name matches the element type..."

Taken together, these two specify the case sensitivity of element
tags. Of course, it does depend on how you interpret "match."

-Steve Schafer


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS