[Typo3-dev] BUG: RC2 Element Browser with Safari on Mac OS X

Martin T. Kutschker Martin.T.Kutschker at blackbox.net
Fri Apr 2 17:08:22 CEST 2004


Olivier Dobberkau wrote:
> Martin T. Kutschker wrote:
> 
> 
> 
>>This doc does:
>>
>>http://www.w3.org/TR/xhtml1/
>>
>>See # 4.2. Element and attribute names must be in lower case
> 
> 
> Hi Masi,
> 
> The Elements are XML Elements and not DOM Elements.

I only sent links concerning XML.

> If i understand this correct: They are still discussing this or?

Perhaps, but we don't need to care. Typo3 certainly does not *implement* 
the DOM. Typo3 (usually) creates markup HTML or XHTML. Some of the 
created elements may have attributes related to scripting. These 
attributes *must* for XHTML be lower case to make the document valid.

The DOM is not the mark up but the in memory data structure refelcting 
the document. The paragraph you cite is very likely about case 
sensitivity in the API.

Note: Markup != DOM

> Anyway this discussion is rather OT.

Not really. It helps to clarify what "code" should be generated by 
Typo3. And for XHTML the case is clear: attributes have to be in lower 
case. *)

Masi

*) Yes, if you create a DTD that contains upper case characters they are 
certainly are allowed. But your DTD will stil be case sensitive, ie if 
it contains only upper case elements, than the document *must* use uper 
case elements.





More information about the TYPO3-dev mailing list