Re: xml-stylesheet issues--suggested resolutions

On Tue, 16 Jun 2009 18:09:55 +0200, Henry S. Thompson <ht@inf.ed.ac.uk>  
wrote:

> I agree that a) we're unlikely to find anything even moderately
> forceful that doesn't put some browsers or other processors on the
> back foot; b) we are pretty much free to decide what's most correct
> and useful here.
>
> It's not obvious to me that interoperability is helped by disjunctive
> MUST (or for that matter SHOULD) clauses.  I'm inclined to think that
> we're not doing anyone any favours by defining a recovery behaviour in
> the duplicate PA case.  So I'd propose
>
>   Duplicate pseudo-attributes are an error.  The xml-stylesheet
>   processor MUST process the xml-stylesheet as if none of the
>   pseudo-attributes which share a name were present.
>
> This will lead to user-useful behaviour in all cases except
> duplication of the href PA, I think.

This would be different behavior than both HTML and XML.

In HTML, the first attribute is used and the rest with the same name are  
ignored.

-- 
Simon Pieters
Opera Software

Received on Wednesday, 17 June 2009 07:35:57 UTC