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

*** shadow/2477 Fri Jul  6 05:45:57 2001
--- shadow/2477.tmp.15224       Fri Jul  6 05:45:57 2001
***************
*** 0 ****
--- 1,43 ----
+ +============================================================================+
+ | Referred attribute properties differ from ones, declared directly          |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2477                        Product: Xerces-C                |
+ |       Status: NEW                         Version: 1.5                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Validating Parser (Sche |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                  |
+ |  Reported By: [EMAIL PROTECTED]                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ This may be just not implemented, but to be safe I'm reporting this:
+ 
+ *.xsd fragment
+ <xsd:element name="Root" type="TypeRoot"/>
+ 
+ <xsd:complexType name="TypeRoot">
+     <xsd:sequence>   
+         ....
+     </xsd:sequence>
+     <xsd:attributeGroup ref="myAttributes"/>
+     <xsd:attribute name="name2" type="xsd:string" use="required"/>
+ </xsd:complexType>
+ 
+ <xsd:attributeGroup name="myAttributes">
+     <xsd:attribute name="name1" type="xsd:string" use="required"/>
+ </xsd:attributeGroup>
+ 
+ When I do a dump of parsed attributes I get:
+ 
+ Attributes:
+       Name:           name1
+       Type:           CDATA
+       Default Type:   Implied
+ 
+       Name:           name2
+       Type:           Simple
+       Default Type:   Required

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

Reply via email to