Are you using the latest nightly build?  If not, if try the latest nightly build
(http://xml.apache.org/dist/xerces-c/nightly/) and please let us know if problem 
persists.

Tinny

"Smith, Cynthia J" wrote:

> I have not had any luck using getElementsByTagName for either an
> IDOM_Element* or for an IDOM_Document*.  For example, the following fails
> for an IDOM_Document.
>
>    IDOM_Document* pXMLDocument = parser.getDocument();
>    unsigned int elementCount =
>       pXMLDocument->getElementsByTagName( XMLString::transcode( "*" ) )
>          ->getLength();
>    cout << "number of elements is " << elementCount << endl;
>
> The code was borrowed from the sample program DOMCount (complete source is
> attached at end).  The call to getLength never returns.  I have also tried
> using specific tagNames.  Similar calls using an IDOM_Element* also fail in
> the same manner.
>
> Has anyone had any success with the IDOM versions of getElementsByTagName?
> If so, on what platform?  We are building on VxWorks targeted for the
> PowerPC (PPC604 and PPC603).
>
> Thanks for the help,
>
> Cindy Smith
> [EMAIL PROTECTED]
> > Battle Management Command, Control and Communications (BMC3) & Strategic
> > Systems
> > Network Communications Systems, Anaheim, CA
> 714-762-9241 (work)
> 714-762-1263 (fax)
>
>  <<loadXMLFile.cpp>>
>
>   ------------------------------------------------------------------------
>                       Name: loadXMLFile.cpp
>    loadXMLFile.cpp    Type: C++ source files 
>(application/x-unknown-content-type-cpp_auto_file)
>                   Encoding: base64
>
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to