'xs:IDREF with only letters':
{|xml||
myElement
|}.
'xs:IDREF beginning with an underscore':
{|xml||
_myElement
|}.
'xs:IDREF containing a number':
{|xml||
myElement3
|}.
'xs:IDREF with a hyphen in-between':
{|xml||
my-element
|}.
'xs:IDREF with a period in-between':
{|xml||
my.element
|}.
'xs:IDREF with a colon in-between'(fail):
{|xml||
pre:myelement3
|}.
'xs:IDREF beginning with a colon'(fail):
{|xml||
:myElement
|}.
'xs:IDREF beginning with a number'(fail):
{|xml||
3rdElement
|}.
'xs:IDREF beginning with a hyphen'(fail):
{|xml||
-myelement
|}.
'xs:IDREF beginning with a period'(fail):
{|xml||
.myelement
|}.
'xs:IDREF with an empty value'(fail):
{|xml||
|}.