Movatterモバイル変換


[0]ホーム

URL:


Fixing error in Turtle and Trig grammars

The RDF Working Group recently discovered an error in the grammars forTurtle and TriG. They were intened to align with SPARQL, but a pair ofparentheses was accidentally dropped from the definition for longstrings resulting in an over-constraint on what's permitted afterembedded quotes. An example of the error is shown by the text   """ ""\" """which is allowed by the SPARQL grammar, but was accidentallydisallowed by the grammars for Turtle and TriG in their specifications.After considering this matter, the acting W3C Director has asked us tomake sure implementors agree this is an error and will in the comingweeks make sure their implementations parse the intended language,aligned with SPARQL.Please let us know by 18 Feb if you intend to implement the followinggrammar and parse the syntax tests below:change[24] STRING_LITERAL_LONG_SINGLE_QUOTE ::= "'''" (("'" | "''")? [^'\] | ECHAR | UCHAR)* "'''"[25] STRING_LITERAL_LONG_QUOTE          ::= '"""' (('"' | '""')? [^"\] | ECHAR | UCHAR)* '"""'to[24] STRING_LITERAL_LONG_SINGLE_QUOTE ::= "'''" (("'" | "''")? ([^'\] | ECHAR | UCHAR))* "'''"[25] STRING_LITERAL_LONG_QUOTE          ::= '"""' (('"' | '""')? ([^"\] | ECHAR | UCHAR))* '"""'and parse these (one-line) turtle documents (with some arbitrary base URI):<s> <p> ''' ''\' ''' .<s> <p> """ ""\" """ .<s> <p> """ ""\u0061 """ .<s> <p> """""\"""" .<s> <p> """""\u0061""" .Many thanks for your help and continued support of RDF 1.1.-- -ericP, on behalf of the RDF Working Groupoffice: +1.617.599.3509mobile: +33.6.80.80.35.59(eric@w3.org)Feel free to forward this message to any list for any purpose other thanemail address distribution.There are subtle nuances encoded in font variation and clever layoutwhich can only be seen by printing this message on high-clay paper.

Received on Wednesday, 12 February 2014 20:43:13 UTC


[8]ページ先頭

©2009-2025 Movatter.jp