Read xml with apache digester

M

muff1488

Hello all,
i am working with a small java program, which uses the apache jakarta
digester to read a xml. Now i'm having the problem, that the header
element contains a colon:

<PLMXML
<dcx:header CodeRule: xxx, xxx,xxx,xxx CreationDate: 22-05-2007</>
<...

I can read the XML, if I remove the colon at dcx:header. I have the
problem, that the digester does not recognize the tag, if there is a
colon. I create a object with dig.addObjectCreate("PLMXML/
dcx:Header"). If I remove the colon in the xml file and use
addObjectCreate("PLMXML/dcxHeader") it is working fine.

What I'm doing wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top