Handle case where @itemtype is not an HTTP URI or does not contain a '#' or '/' by ignoring the property
authorGregg Kellogg <gregg@kellogg-assoc.com>
Tue, 18 Oct 2011 18:43:55 -0700
changeset 5 ff1347925fcb
parent 4 25b35c64a49a
child 6 f9fab8a47dc2
Handle case where @itemtype is not an HTTP URI or does not contain a '#' or '/' by ignoring the property
microdata-rdf/index.html
--- a/microdata-rdf/index.html	Tue Oct 18 18:38:44 2011 -0700
+++ b/microdata-rdf/index.html	Tue Oct 18 18:43:55 2011 -0700
@@ -570,7 +570,9 @@
               <li>
                 Otherwise, construct <em>predicate</em> from <em>type</em> by removing everything
                 following the last SOLIDUS U+002F ("/") or NUMBER SIGN U+0023 ("#") in <em>type</em> and append
-                the fragment escaped value of <em>name</em>.
+                the fragment escaped value of <em>name</em>. If <em>type</em> contains no
+                SOLIDUS U+002F ("/") or NUMBER SIGN U+0023 ("#") it may not be used for generating a predicate
+                URI; skip this property and any associated <tref>property value</tref>s
               </li>
               <li>
                 Let <em>value</em> be the <tref>property value</tref> of <em>element</em>.