Bugzilla – Bug 722
add check for new "non-empty URL" datatype
Last modified: 2010-12-17 12:35:25 CET
The HTML5 spec has been updated to change the datatype of a number of attribute values to "valid non-empty URL" -
The affected attribute values were previously allowed to be an empty string, but now must be "a valid URL but not the empty string"
Unless there is some way to subclass or extend the existing IriRef class so that we don't end up just duplicating it, it would seem like rather than creating a new datatype, this check might instead better be done in the existing Assertions code.
One way would be making iri-ref never accept the empty string and use w:iri-ref | w:string "" where the empty string must be allowed.