Between the lines I read that the language tag xml:lang is not allowed on typed literals. Actually I just tried to do this. The rationale is to define a datatype "One Sentence" which must contain a single sentence, starting with a upper-case, ending with a dot etc ... and using this datatype for a "tagLine" property - which of course has also a language.
So I tried the syntax below and proposed it to various tools
- W3C validator validates it, seems to ignore the xml:lang tag
- Protégé does the same, imports the file and ignores the xml:lang tag when saving
- SWOOP does the other way round, ignores the rdf:datatype but keeps the language tag.
My question is, just out of curiosity, what is the rationale behind not allowing xml:lang on typed literals?
I believe the rationale was along the lines that if the value of a typed
literal was represented by an XML construction, the xml:lang belonged _in_
the representation, not _on_ it. That is, that if a literal's values are
represented in infoset terms, the xlm:lang belongs in the representation.