Fix up URL editing to use path component, to ensure that a domain without a path is not trimmed to far.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Mon, 27 Feb 2012 22:06:17 -0800
changeset 99 3178af1b49fd
parent 98 f0c63fe73011
child 100 f885a8d5ff7c
Fix up URL editing to use path component, to ensure that a domain without a path is not trimmed to far.
microdata-rdf/index.html
--- a/microdata-rdf/index.html	Wed Feb 22 09:42:02 2012 -0800
+++ b/microdata-rdf/index.html	Mon Feb 27 22:06:17 2012 -0800
@@ -1195,7 +1195,7 @@
       <li>If the <tref>registry</tref> contains a <tref>URI prefix</tref> that is a character for character match of <em>type</em>
         up to the length of the <tref>URI prefix</tref>, set <em>vocab</em> as that <tref>URI prefix</tref>.
       <li>Otherwise, if type is not empty, construct <em>vocab</em> by removing everything following the last
-        SOLIDUS U+002F ("/") or NUMBER SIGN U+0023 ("#") from <em>type</em>.</li>
+        SOLIDUS U+002F ("/") or NUMBER SIGN U+0023 ("#") from the <em>path</em> component of <em>type</em>.</li>
       <li>Update <tref>evaluation context</tref> setting <tref>current vocabulary</tref> to <em>vocab</em>.</li> 
       <li>
         Set <em>property list</em> to an empty array mapping properties to one or more