Skip to main content

xml parsing with SAX

1 reply [Last post]
Joined: 2008-12-22

I am trying to read a XML file into a database. I am parsing the XML using SAX.

The SAX function endElement is called and works but the startElement is never called so I never see the start xml tag only the ending tag.

Within endElement, I read a qualified name but no name or attributes or URI.

Any ideas, is the problem with my XML file or have I left something out of my java code?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2008-11-15

check that your xml is wellformed, or give an example here