diff --git a/src/nu/validator/htmlparser/impl/ElementName.java b/src/nu/validator/htmlparser/impl/ElementName.java index 89b48b90..60f6164d 100644 --- a/src/nu/validator/htmlparser/impl/ElementName.java +++ b/src/nu/validator/htmlparser/impl/ElementName.java @@ -297,7 +297,7 @@ public void destructor() { this.name = name; this.camelCaseName = name; // CPPONLY: if (custom) { - // CPPONLY: this.htmlCreator = NS_NewCustomElement; + // CPPONLY: this.htmlCreator = null; // CPPONLY: } else { // CPPONLY: this.htmlCreator = NS_NewHTMLUnknownElement; // CPPONLY: } @@ -308,7 +308,7 @@ public void destructor() { } // CPPONLY: @Inline public boolean isCustom() { - // CPPONLY: return this.htmlCreator == NS_NewCustomElement; + // CPPONLY: return this.htmlCreator == null; // CPPONLY: } public static final ElementName ANNOTATION_XML = new ElementName(