Hi,

We have an application where we are processing a fairly flat xml doc of the
general form:

<foo>
   <foo-data>This is fubar</foo-data>
   <fubar-data>This is also fubar</fubar-data>
   <foo-bar1>This is some bad data</foo-bar1>
</foo>

The problem is when we get a handle to the foo Node and call
getChildNodes(), the last node does not show up in the child node list. This
happens for all Element names that END with a numeric suffix. Elements with
embedded numbers work fine--it is only those with trailing numbers that are
causing problems.

Curiously, when I use the XMLSerializer to serialize the DOM tree,
everything shows up correctly but when we try to find the node during
processing, it doesn't exist.

According to the xml spec, Element names of this sort are clearly allowed.

Does anyone have any idea why this would be causing a problem?

I'm not exactly sure which Xerces version that we are using. I think that I
downloaded it in the Sun xml pack or from the Xerces dev site within the
last six months. We have a xerces.jar and a xercesImpl.jar.

Thanks in advance for any assistance,

Charles

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to