Hi:
  When I compile the petstore demo there is a error with "XMLDocumentUtils.java": Error #: 300 : method getAttributeNS(java.lang.String, java.lang.String) not found in interface org.w3c.dom.Element at line 189, column 32"

  The correspond code snippet is below:
public static String getAttributeNS(Element element, String nsURI, String name, boolean optional) throws XMLDocumentException {
        String value = element.getAttributeNS(nsURI, name);
        if (value == null && !optional) {
      throw new XMLDocumentException("Attribute " + name + " of " + element.getTagName() + " expected.");
        }
        return value;
  }

  How to deal with the problem?

Thanks!