> I'll look at this in .NET 2003 and .NET 2008.
>
> Thanks for your review. Do you know if this sample uses some Deprecated
> DOM support? There have been some changes between XercesC 2.x and 3.x
> that may affect the Deprecated DOM support issue.
>
> I am also trying to resolve compatibility issues where nodesets are empty
> and where text elements are empty. I have corrected some of these
> problems.
> There may be more.
>
> Your findings are very helpful for the Xalan Documentation Project.
>
> Sincerely,
> Steven J. Hathaway
>
I looked at this further and find that if the problem assert is removed,
the sample program runs to completion. But I wonder what use is made
of initializing m_lastIndex(theMap->getLength() - 1)
Sincerely,
Steven J. Hathaway
---------------------------------------
FILE: XercesNamedNodeAttributeList.cpp
NOTE:
I am unsure of how m_lastIndex() is used.
The example of birds.xml / birds.xsl has various instances where
(theMap->getLength() == 0)
----------------------------------------
XercesNamedNodeMapAttributeList::XercesNamedNodeMapAttributeList(const
DOMNamedNodeMapType* theMap) :
ParentType(),
m_nodeMap(theMap),
m_lastIndex(theMap->getLength() - 1)
{
//SJH DEBUG INFO theLength
XMLSize_t theLength;
theLength = theMap->getLength();
// assert(theMap->getLength() != 0);
}
>>
>> We downloaded Xalan 1.11 Revision No: 1195820 and compiled it using
>> Visual
>> Studio 2010.
>>
>> When trying to run the example TransformToXercesDOM using birds.xml and
>> birds.xsl under Debug mode asserts failed in XalanDOMstring and
>> XercesNamedNodeMapAttributeList.
>>
>> Anyone had this problem?
>> --
>> View this message in context:
>> http://old.nabble.com/Xalan-1.11-asserts-failed-tp32781162p32781162.html
>> Sent from the Xalan - Dev mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]