public marks

LINK

Prefixes, not that complicated. | Garbage Collection

by karlcow

We were able to come up with rules that make using prefixes in almost any context simpler. Note, these are for the most part AUTHORING guidelines, not requirements when reading:

1. Reusing the same prefix in the same document with different meanings is horribly confusing (”If you did that, I’d break your figures.”). Possible to figure out, but not really desirable. Seems like a reasonable place for a warning.

2. Defining all the prefixes in one place makes it simpler to keep track of them. But understood when it would be simpler to define a new prefix for a section of content.

3. “Couldn’t you have a simple tool that just shows you what prefixes are defined at any point in the document?” How such a tool has failed to exist in the XML world… may write this.

Comments

No comment on this link yet.


PUBLIC TAGS
on this link

namespaces   rdf   xml  

BY

karlcow
the 23/09/2009 at 01:16