xerces-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schwarz, Konrad" <konrad.schw...@siemens.com>
Subject DOM Load and Store parser filter & document element
Date Mon, 11 Apr 2011 16:17:29 GMT
Hi,

contrary to my reading of the DOM load and store specification, the document element node
(that is, the top-level element at the root of an XML document, not the document node itself)
is not being passed to my LSParserFilter's startElement() and acceptNode() methods.  My getWhatToShow()
routine always returns 1, that is SHOW_ELEMENT.

Is this a bug?

I am using JDK 1.6_24 -- I think this incorporates Xerces.


Regards,
Konrad Schwarz

Siemens AG
Corporate Technology
Corporate Research and Technologies
CT T DE IT1
Otto-Hahn-Ring 6
81739 München, Deutschland
Tel.: +49 (89) 636-53579
Fax: +49 (89) 636-45450
mailto:konrad.schwarz@siemens.com

Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme; Vorstand: Peter
Löscher, Vorsitzender; Roland Busch, Brigitte Ederer, Klaus Helmrich, Joe Kaeser, Barbara
Kux, Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen, Michael Süß; Sitz der Gesellschaft:
Berlin und München, Deutschland; Registergericht: Berlin Charlottenburg, HRB 12300, München,
HRB 6684; WEEE-Reg.-Nr. DE 23691322




Mime
View raw message