http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2634 *** shadow/2634 Sun Jul 15 12:54:07 2001 --- shadow/2634.tmp.4936 Mon Jul 16 07:33:39 2001 *************** *** 2,9 **** | simple use of substitutionGroup fails | +----------------------------------------------------------------------------+ | Bug #: 2634 Product: Xerces-C++ | ! | Status: NEW Version: 1.5 | ! | Resolution: Platform: PC | | Severity: Major OS/Version: Windows NT/2K | | Priority: Other Component: Validating Parser (Sche | +----------------------------------------------------------------------------+ --- 2,9 ---- | simple use of substitutionGroup fails | +----------------------------------------------------------------------------+ | Bug #: 2634 Product: Xerces-C++ | ! | Status: RESOLVED Version: 1.5 | ! | Resolution: INVALID Platform: PC | | Severity: Major OS/Version: Windows NT/2K | | Priority: Other Component: Validating Parser (Sche | +----------------------------------------------------------------------------+ *************** *** 71,74 **** information: "Error parsing file 'D:\dev\Moonwatcher\Dev\NPS\xml\Bug.xml', line 4, column ! 103: Type not found in http://www.foo.com:foo-base." --- 71,90 ---- information: "Error parsing file 'D:\dev\Moonwatcher\Dev\NPS\xml\Bug.xml', line 4, column ! 103: Type not found in http://www.foo.com:foo-base." ! ! ------- Additional Comments From [EMAIL PROTECTED] 2001-07-16 07:33 ------- ! Thas's not a valid example. All substitution group members must have type ! definitions which are either the same as the head's type definition or ! restrictions or extensions of it. ! ! According to the specifications: ! Schema Component Constraint: Element Declaration Properties Correct ! ! 3 If there is an {substitution group affiliation}, the {type definition} of the ! element declaration must be validly derived from the {type definition} of the ! {substitution group affiliation}, given the value of the {substitution group ! exclusions} of the {substitution group affiliation}, as defined in Type ! Derivation OK (Complex) (�3.4.6) (if the {type definition} is complex) or as ! defined in Type Derivation OK (Simple) (�3.14.6) (if the {type definition} is ! simple). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
