Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 55716 invoked from network); 18 Oct 2000 17:37:05 -0000 Received: from unknown (HELO ?63.170.231.16?) (63.170.231.16) by locus.apache.org with SMTP; 18 Oct 2000 17:37:05 -0000 Received: from cumin (cumin.rosetta.zon [172.16.16.106]) by [63.170.231.16] (8.9.2/8.9.2) with SMTP id KAA24633; Wed, 18 Oct 2000 10:36:57 -0700 (PDT) (envelope-from kelly@ad1440.net) Message-ID: <010a01c0392a$03d3dd80$6a1010ac@rosetta.zon> From: "Sean Kelly" To: Cc: , References: <00ec01c03925$eccb6620$6a1010ac@rosetta.zon> <39EDDD07.459A5C5E@us.ibm.com> Subject: Re: Question about document type nodes and JAXP Date: Wed, 18 Oct 2000 10:36:57 -0700 Organization: Independent Consultant MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > Because there doesn't seem to be any way to specify a bootstrap > mechanism which is platform and language independent the DOM spec > doesn't define any. :-( > I've made a proposal to fix this at least for Java in DOM Level 3. In > the meantime, you have to use some "proprietary" call. Blech. Are static methods allowed in the DOM specification (and are they language independent)? I'd love to see a singleton or static factory class that yields useful objects like a Document or the DOMImplementation. Care to shed some light on your proposal for Level 3? > You may as well simply do the following: > > DOMImplementation impl = > org.apache.xerces.dom.DOMImplementationImpl.getDOMImplementation(); Yeah ... I just felt more comfortable using as much DOM as possible---so sneaking in a call to create a DocumentImpl and using getImplementation was somehow less onerous than getting the Xerces DOM implementation directly. I don't know how, but it is. :-) > I wish JAXP addressed this problem but it doesn't either. :-( Thanks a lot, W3C! :-( > Arnaud Le Hors - IBM Cupertino, XML Technology Group Haven't you found a new job yet? :-) Take care. --Sean