/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLName.java
if ( !isNCNameChar( name.charAt( i) ) ) {
if ( isNCNameStartChar ( name.charAt ( 0 ) ) ) {
return false; } throw ee; } int length = name.length(); if (length != 0) { <extra_id_0> for (int i = 1; i != length; ++i) { if (!isNCNameChar(name.charAt(i))) { return false; } } return true;