http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2643 *** shadow/2643 Mon Jul 16 12:06:30 2001 --- shadow/2643.tmp.24739 Tue Jul 17 07:58:38 2001 *************** *** 2,9 **** | derivation by extension of complex types does not permit addition of ONLY | +----------------------------------------------------------------------------+ | Bug #: 2643 Product: Xerces-C++ | ! | Status: NEW Version: 1.5 | ! | Resolution: Platform: PC | | Severity: Normal OS/Version: Windows NT/2K | | Priority: Other Component: Validating Parser (Sche | +----------------------------------------------------------------------------+ --- 2,9 ---- | derivation by extension of complex types does not permit addition of ONLY | +----------------------------------------------------------------------------+ | Bug #: 2643 Product: Xerces-C++ | ! | Status: RESOLVED Version: 1.5 | ! | Resolution: FIXED Platform: PC | | Severity: Normal OS/Version: Windows NT/2K | | Priority: Other Component: Validating Parser (Sche | +----------------------------------------------------------------------------+ *************** *** 115,118 **** </complexType> <element name='root' type='foo:DerivedType'/> ! </schema> --- 115,133 ---- </complexType> <element name='root' type='foo:DerivedType'/> ! </schema> ! ! ------- Additional Comments From [EMAIL PROTECTED] 2001-07-17 07:58 ------- ! The fix is in the latest nightly build. Please verify. It is a small change. ! Here is the diff (ComplexTypeInfo.hpp) for your reference. ! ! -------- FIX --------- ! inline bool ComplexTypeInfo::contains(const XMLCh* const attName) { ! + ! + if (!fAttDefs) { ! + return false; ! + } ! ! RefHash2KeysTableOfEnumerator<SchemaAttDef> enumDefs(fAttDefs); ! ! -------- FIX --------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
