RE: [xsl] attribute order

Subject: RE: [xsl] attribute order
From: "Snow, Corey" <CSNOW@xxxxxxxxx>
Date: Fri, 22 Feb 2002 10:32:28 -0800
You should exercise a lot of caution in doing something like this- setting
internal standards for the appearance of generated documents in
contravention to the way XML parsers work is only going to cause problems
when your parser of choice changes the way it handles attributes in a future
release.

The rule: Attribute order is unimportant. Period. Kludging attribute order
using a particular parser's behaviors (ie, using xsl:attribute-sets to
enforce order) is not standard, not supported, and really not a good idea.
The only time I can think of it being justifiable is when another (broken)
product depends on attribute order. Since in this case you were dealing with
problems in the META tag, I can understand why you needed to do this. 

I'd just hate for people to think this was an acceptable workaround for a
problem that is really not in an XML parser but in a web browser.

Regards,

Corey Snow

> -----Original Message-----
> From: Meltem Kogelbauer [mailto:meltem.kogelbauer@xxxxxxxxxxxxxxxxxx]
> Sent: Friday, February 22, 2002 2:43 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] attribute order
> 
> 
> I am using Xalan/Xerces. I have tested this with saxon as 
> well and it works
> fine. So the order of the attributes can be controlled, if 
> desired, with the
> attribute-sets.
> 
> Funny, I am using all the time attribute-sets but I have not 
> noticed that
> the order could be changed. We are following our standards to have
> consistant output everywhere, if it was not the meta tag 
> issue we would not
> have noticed this perhaps at all.
> 
> cheers all
> meltem
> > 

#########################################################
The information contained in this e-mail and subsequent attachments may be privileged, 
confidential and protected from disclosure.  This transmission is intended for the sole 
use of the individual and entity to whom it is addressed.  If you are not the intended 
recipient, any dissemination, distribution or copying is strictly prohibited.  If you 
think that you have received this message in error, please e-mail the sender at the above 
e-mail address.
#########################################################

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread