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