|
What appears below are my personal notes I wish were part of my long-term memory but don't always seem to fit. I strive for accuracy and clarity and appreciate feedback. If applying any of this information anywhere, confirm for youself the correctness of your work as what you see below might very well be, albeit unintentionally, incorrect or misleading. These notes are here as an easy reference for myself.
Information worthy of a more formal presentation will appear elsewhere than this "Scratch" area. - ksb
This is probably one of the most confusing parts of c14n, here some rules I've come up with summarizing the canonical ordering of attributes.
xmlns="urn:foo"will come before any other attribute.
xmlns:cat="urn:foo"comes before
xmlns:dog="urn:bar"because cat comes before dog.
age="23"comes before
beauty="mask"because (as well all know) age comes before beauty.
dog:rover="bark"comes before
cat:princess="bite"because urn:bar comes before urn:foo.