http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2474

*** shadow/2474 Fri Jul  6 04:54:08 2001
--- shadow/2474.tmp.15056       Fri Jul  6 04:54:08 2001
***************
*** 0 ****
--- 1,32 ----
+ +============================================================================+
+ | Leading "," in the SubstitutionGroupName                                   |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2474                        Product: Xerces-C                |
+ |       Status: NEW                         Version: 1.5                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Miscellaneous           |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                  |
+ |  Reported By: [EMAIL PROTECTED]                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ *.xsd fragment:
+ 
+ <element name="comment" type="xsd:string"/>
+ <element name="myComment" type="xsd:string" substitutionGroup="comment"/>
+ 
+ code:
+ 
+ const SchemaElementDecl& curElem = elemEnum.nextElement();
+ // Substitution Name
+ XMLCh* subsGroup = curElem.getSubstitutionGroupName();
+ if( subsGroup )
+ {
+     cout << "Substitution Name:\t" << StrX(subsGroup) << "\n";
+ }
+ 
+ subsGroup is ",comment"

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to