[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: attribute order

Subject: RE: attribute order
From: "Snow, Corey" <CSNOW@xxxxxxxxx>
Date: Fri, 22 Feb 2002 10:32:28 -0800
xerces attribute order
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.