W3C home > Mailing lists > Public > www-validator@w3.org > August 2012

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

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 20 Aug 2012 14:52:08 +0300
Message-ID: <503224E8.80509@cs.tut.fi>
To: "www-validator@w3.org" <www-validator@w3.org>
CC: Thomas Pircher <tehpeh_ml@tty1.net>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 August 2012 11:52:44 GMT