- From: Ivan Herman <ivan@w3.org>
- Date: Tue, 31 Jan 2012 13:27:05 +0100
- To: "Michael[tm] Smith" <mike@w3.org>
- Cc: public-rdfa-wg@w3.org
- Message-Id: <9B271E8A-E58C-47CE-A525-4A6C5072A7EC@w3.org>
Mike, I let Shane answer and handle that. But... I guess we should have told you about a slight change in the CURIE definition that was decided last week: prefix ::= NCName reference ::= ( ipath-absolute / ipath-rootless / ipath-empty ) [ "?" iquery ] [ "#" ifragment ] (as defined in [RFC3987]) curie ::= [ [ prefix ] ':' ] reference safe_curie ::= '[' [ [ prefix ] ':' ] reference ']' The point is that reference is more liberal as it was because it allows for the ':' character (needed because Facebook already uses such CURIES) but it disallows a leading '//' character pair. Thanks Ivan On Jan 31, 2012, at 13:17 , Michael[tm] Smith wrote: > Looking in the RDFa Core 1.1 spec at the (non-normative) "XML Schema > Definition" section: > > http://www.w3.org/TR/rdfa-core/#xml-schema-definition > > ...I find: > > <xs:simpleType name="CURIE"> > <xs:restriction base="xs:string"> > <xs:pattern value="(([\i-[:]][\c-[:]]*)?:)?.+" /> > <xs:minLength value="1"/> > </xs:restriction> > </xs:simpleType> > > It seems that pattern should instead be: > > (([\i-[:]][\c-[:]]*)?:)?[^\s]+ > > Right? > > 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: > > http://www.w3.org/TR/rdfa-core/#s_curies > > ...and irelative-ref can't contain whitespace. > > --Mike > > P.S. Same for "SafeCURIE" datatype definition. > > -- > Michael[tm] Smith > http://people.w3.org/mike/+ > ---- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 FOAF: http://www.ivan-herman.net/foaf.rdf
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Tuesday, 31 January 2012 12:25:19 UTC