Re: [XHTML 1.0 Strict] attribute shape on a defaulted from external subset

2012-08-20 14:28, Philip TAYLOR wrote:

> Thomas Pircher wrote:
[...]
>>   Line 26, Column 63: standalone: attribute shape on a defaulted from
>>
>> external subset
>>
>>   Line 36, Column 113: standalone: attribute method on form defaulted
>> from
>>
>> external subset
>>
>>
>>
>> The validated URL is http://www.tty1.net/ .
[...]
> I suspect one might be intended to
> parse "attribute shape on a defaulted from external subset" as
> "attribute shape on 'a' element defaulted from external subset",

Yes indeed. The simple fix is to change standalone='yes' in the XML 
declaration at the start to standalone='no'.

The meaning of standalone='yes' is that the document can be parsed 
without reading external markup declarations, effectively the document 
type definition. And the XML specification says that this is not 
possible in certain cases, including a situation where the external 
declarations specify default values for attributes. Ref.:
http://www.w3.org/TR/REC-xml/#sec-rmd

In XHTML, the 'a' element has its 'shape' attribute defaulted to 'rect' 
(this is purely syntactic and applies even when such an attribute has no 
role to play, as in a normal link), the 'form' element has its 'method' 
attribute defaulted to 'post', etc.

Yucca

Received on Monday, 20 August 2012 11:52:38 UTC