W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > June 2009

Re: xml-stylesheet issues--suggested resolutions

From: Simon Pieters <simonp@opera.com>
Date: Wed, 17 Jun 2009 09:35:00 +0200
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
Cc: "Grosso, Paul" <pgrosso@ptc.com>, public-xml-core-wg@w3.org
Message-ID: <op.uvnrcmhridj3kv@simon-pieterss-macbook.local>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 June 2009 07:35:58 GMT