Hi,
When I run SAXPrint as: saxprint -n -s -v=always cb.xml
An unhandled exception occurs:
Unhandled exception in SAXPrint.exe (XERCES-C_1_5D.DLL): 0xC0000005: Access
Violation
The output produced by SAXPrint is correct.
Any ideas ?
/Christoffer
stack trace from VC5:
RefHashTableOf<CPMapEntry>::removeAll() line 189 + 24 bytes
RefHashTableOf<CPMapEntry>::~RefHashTableOf<CPMapEntry>() line 152
RefHashTableOf<CPMapEntry>::`scalar deleting destructor'(unsigned int 1) +
15 bytes
Win32TransService::~Win32TransService() line 436 + 31 bytes
Win32TransService::`vector deleting destructor'(unsigned int 1) + 65 bytes
XMLPlatformUtils::Terminate() line 250 + 32 bytes
main + 1521 bytes
mainCRTStartup() line 338 + 17 bytes
KERNEL32! 77f1b9ea()
The offending line in RefHashTableOf.c is marked by =>:
template <class TVal> void RefHashTableOf<TVal>::removeAll()
{
// Clean up the buckets first
=> for (unsigned int buckInd = 0; buckInd < fHashModulus; buckInd++)
{
// Get the bucket list head for this entry
RefHashTableBucketElem<TVal>* curElem = fBucketList[buckInd];
RefHashTableBucketElem<TVal>* nextElem;
cb.xml:
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<LAANOP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation='cb.xsd'
AntalDebitorTerminer="2" Tilbudskurs="99.3" Kursdato="20010529"/>
cb.xsd:
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
<element name="LAANOP">
<complexType>
<attribute name="L�netype" type="string"/>
<attribute name="AntalDebitorTerminer" type="string"/>
<attribute name="Tilbudskurs" type="string" use="required"/>
<attribute name="Kursdato" type="string" use="required"/>
</complexType>
</element>
</schema>
output from SAXPrint:
<?xml version="1.0" encoding="LATIN1"?>
<LAANOP xsi="http://www.w3.org/2001/XMLSchema-instance"
noNamespaceSchemaLocatio
n="cb.xsd" AntalDebitorTerminer="2" Tilbudskurs="99.3"
Kursdato="20010529"></LAANOP>
m.v.h.
Christoffer Bruun
email: [EMAIL PROTECTED]
tlf: 89432000
---
Ed is the standard text editor.
If you use ed, you are on the path to redemption, the
so-calleds "visual" editors have been placed here by ed to tempt the
faithless. DO NOT GIVE IN!!! THE MIGHTY ED HAS SPOKEN!!!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]