Bug fix for IRI_REF and predicateObjectList
authorGavin Carothers <gavin@carothers.name>
Sat, 10 Dec 2011 20:11:30 -0800
changeset 189 79138c67c8db
parent 188 e8b1d7283925
child 190 69e51087cfa0
Bug fix for IRI_REF and predicateObjectList
rdf-turtle/turtle.bnf
--- a/rdf-turtle/turtle.bnf	Wed Nov 30 07:58:22 2011 -0800
+++ b/rdf-turtle/turtle.bnf	Sat Dec 10 20:11:30 2011 -0800
@@ -10,7 +10,7 @@
  
 [6] triples ::= subject predicateObjectList 
  
-[7] predicateObjectList ::= verb objectList ( ';' ( verb objectList )? )*
+[7] predicateObjectList ::= verb objectList ( ";" verb objectList )* (";")? 
  
 [8] objectList ::= object ( "," object )* 
  
@@ -65,8 +65,9 @@
 [17] BASE ::= "@base" 
  
 [18] PREFIX ::= "@prefix" 
- 
-[70s] IRI_REF ::= "<" ( [^<>\"{}|^`\\] - [#0000- ] | UCHAR )* ">" 
+
+#[70s] IRI_REF ::= "<" ( [^<>\"{}|^`\\] - [#0000- ] | UCHAR )* ">" 
+[70s] IRI_REF ::= "<" ( [^<>\"{}|^`\\] - [#x00-#x20] | UCHAR )* ">" 
  
 [71s] PNAME_NS ::= (PN_PREFIX)? ":"