[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: attribute order (RE: Syntax Sugar and XML information models)
- From: Jeff Greif <email@example.com>
- To: firstname.lastname@example.org
- Date: Sun, 01 Apr 2001 16:45:47 -0700
This is a reasonable order to choose as a convention when some
attributes have been defaulted, but it's not the only possible choice
(for instance, you could use DTD order with non-explicit non-defaulted
attributes omitted). Whatever choice you make in this case would be
just a convention, and some application would need something different.
For instance, an XML editor might let you mess around with explicit
attribute order after you've entered attributes, or just preserve them
in time order of entry. Should the person editing have to know that
different orders have different meaning to the recipient? What if
different orders are necessary for different possible recipients?
> Depending on how it was implemented, I don't think it would be
> difficult to
> preserve the order of the explicit attributes and append the defaulted
> attributes, thereby preserving both sequences.
> Gets a bit tricky when the order of instance usage is different from
> order of declaration, of course.
> Simon St.Laurent - Associate Editor, O'Reilly and Associates