W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > January 2012

problem in "CURIE" XML Schema datatype definition

From: Michael[tm] Smith <mike@w3.org>
Date: Tue, 31 Jan 2012 21:17:49 +0900
To: public-rdfa-wg@w3.org
Message-ID: <20120131121747.GB35005@sideshowbarker>
Looking in the RDFa Core 1.1 spec at the (non-normative) "XML Schema
Definition" section:


...I find:

  <xs:simpleType name="CURIE">
      <xs:restriction base="xs:string">
          <xs:pattern value="(([\i-[:]][\c-[:]]*)?:)?.+" />
          <xs:minLength value="1"/>

It seems that pattern should instead be:



Because that's the "reference" part of the CURIE, and the spec prose of the
CURIE Syntax Definition section defines that as being irelative-ref:


...and irelative-ref can't contain whitespace.


P.S.  Same for "SafeCURIE" datatype definition.

Michael[tm] Smith
Received on Tuesday, 31 January 2012 12:17:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:55 UTC