- markup (52)
- xml (7)
- xslt (21)
- atom (8)
- overlapping markup (2)
- schema (9)
- creole (4)
- xforms (1)
- pipelines (7)
- coding (2)
- dtll (1)
- genealogy (3)
- gtd (1)
- hardware (1)
- legislation (1)
- ontologies (2)
- unicode (1)
- web (24)
- google (3)
- rdf (6)
- rest (3)
- wikis (1)
- work (1)
- xpath (1)
- xquery (1)
- xtech2008 (3)
- life (26)
- children (5)
- equality (6)
- environment (4)
- gadgets (5)
- software (3)
- xlinq (2)
- conferences (7)
- xtech (6)
- blog (7)
- drupal (3)
Re: CURIES (Re: Things that make me scream: RDF "QNames")
Thanks for the pointer to CURIEs. They deal with the problem of non-Name relative URIs, but I still dislike that they use normal XML namespace declarations to provide base URIs.
Say that I’m writing some XSLT 2.0 that produces some XHTML+RDFa. For the type declarations that I use in the XSLT 2.0, I have to declare the XML Schema namespace
http://www.w3.org/2001/XMLSchema. For the CURIEs in RDFa, I have to declare the XML Schema base URI `http://www.w3.org/2001/XMLSchema#’. So I end up with two different namespace declarations with two different prefixes:It’s plain confusing to have two very subtly different URIs floating around, both termed “namespaces”, both referring to the same thing.
Of course you don’t run into this problem if you design namespace URIs such that they end with a slash or a hash, but lots of XML namespaces don’t follow those rules. XML Schema is the most glaring example because it’s actually used quite a lot in RDF to get datatyping.