You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/11/06 07:36:43 UTC
DO NOT REPLY [Bug 14288] New: -
org.apache.xerces.util.ObjectFactory$ConfigurationError: Provider org.apache.html.dom.HTMLAnchorElementImpl could not be instantiated: java.lang.InstantiationException: org.apache.html.dom.HTMLAnchorElementImpl
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14288>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14288
org.apache.xerces.util.ObjectFactory$ConfigurationError: Provider org.apache.html.dom.HTMLAnchorElementImpl could not be instantiated: java.lang.InstantiationException: org.apache.html.dom.HTMLAnchorElementImpl
Summary: org.apache.xerces.util.ObjectFactory$ConfigurationError:
Provider org.apache.html.dom.HTMLAnchorElementImpl could
not be instantiated: java.lang.InstantiationException:
org.apache.html.dom.HTMLAnchorElementImpl
Product: Xerces2-J
Version: 2.2.0
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Critical
Priority: Other
Component: DOM
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: perry@graphixprose.com
The following program works correctly with version 1.4.4 but fails with the
following exception using 2.2.0:
org.apache.xerces.util.ObjectFactory$ConfigurationError: Provider
org.apache.html.dom.HTMLAnchorElementImpl could not be instantiated:
java.lang.InstantiationException: org.apache.html.dom.HTMLAnchorElementImpl
at org.apache.xerces.util.ObjectFactory.newInstance(Unknown Source)
at org.apache.html.dom.HTMLDocumentImpl.populateElementType(Unknown
Source)
at org.apache.html.dom.HTMLDocumentImpl.populateElementTypes(Unknown
Source)
at org.apache.html.dom.HTMLDocumentImpl.<init>(Unknown Source)
at org.pdillard.TestMain.main(TestMain.java:34)
Exception in thread "main"
-------------------- Testcase program code follows -------------------------
import org.apache.html.dom.HTMLDocumentImpl;
import org.apache.xml.serialize.OutputFormat;
import org.apache.xml.serialize.XMLSerializer;
import org.w3c.dom.html.HTMLDocument;
public class TestMain
{
public static void main(String[] args) throws Exception
{
HTMLDocument oDoc = new HTMLDocumentImpl();
oDoc.setTitle("Testing");
OutputFormat oFormat = new OutputFormat(oDoc);
oFormat.setIndent(4);
oFormat.setIndenting(true);
oFormat.setOmitXMLDeclaration(true);
XMLSerializer oSerializer = new XMLSerializer(System.out, oFormat);
oSerializer.serialize(oDoc.getDocumentElement());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org