On 06/02/12 17:31, Dave Reynolds wrote:
Hi Dick,
On 06/02/12 16:49, Dick Murray wrote:
Why's the checkLocalName() called in some constructors but not others..?
I can't authoritatively answer that, it does seem inconsistent and may
be just historic anomaly.
I believe that the original RDF spec states that a property has to be
decomposable into a namespace and name, because otherwise you can't have
an XML element representing the predicate in the striped XML syntax. To
within the limits of judicious post-hoc rationalisation and my failing
memory, Jena Properties which are constructed from strings therefore
check this constraint, while properties which are constructed from
existing nodes are assumed to be compliant.
So yes, it's an historical anomaly :)
Ian