Hello all,

I'm new to the list, so please forgive me if I say or ask something
stupid...

* I'm using Xerces 1.0.1 for my project.  My project builds on the Mac using
Metrowerks CodeWarrior Pro 5.3 and Windows using CodeWarrior and VC++.  The
CodeWarrior projects included with the Xerces distribution are out of date
and aren't cross platform.  Is there someone I should work with to get my
mods back into the base (assuming they are wanted)?  Until recently, I
worked for Metrowerks, so I think my mods would be useful to other
CodeWarrior users.

* Is there a requirement that Xerces run as a DLL/shared library?  I've
modified the code to run as a static library and would prefer to ship it
that way.

* I have a crasher that occurs in DTDElementDecl::createChildModel().  The
offending code is

    const ContentSpecNode* specNode = getContentSpec();
    if (specNode->getElemId() == XMLElementDecl::fgPCDataElemId)
        ThrowXML(RuntimeException, XML4CExcepts::CM_NoPCDATAHere);

The crash occurs because specNode is NULL.  In my case, the user input is
definitely incorrect, but I don't expect to crash as a result.  I'm
beginning to put my 1.0.1 mods into 1.1.0 to see if it fixes the problem,
but I'm skeptical since I don't see any changes in this file or the three
functions up the call stack.

I'm not familiar with the internal operation of Xerce, so can someone
comment whether a test for NULL should be inserted in this code or whether
it's unreasonable to expect to encounter this situation?

Thanks

-E

Reply via email to