PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

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

*** shadow/3006 Mon Aug  6 13:14:55 2001
--- shadow/3006.tmp.19856       Tue Aug  7 10:25:19 2001
***************
*** 2,15 ****
  | Restricted type where the base type uses local element is not allowed      |
  +----------------------------------------------------------------------------+
  |        Bug #: 3006                        Product: Xerces-J                |
! |       Status: NEW                         Version: 1.4.2                   |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Normal                   OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: Schema-Structures       |
  +----------------------------------------------------------------------------+
  |  Assigned To: [EMAIL PROTECTED]                                  |
  |  Reported By: [EMAIL PROTECTED]                                         |
- |      CC list: Cc:                                                          |
  +----------------------------------------------------------------------------+
  |          URL:                                                              |
  +============================================================================+
--- 2,14 ----
  | Restricted type where the base type uses local element is not allowed      |
  +----------------------------------------------------------------------------+
  |        Bug #: 3006                        Product: Xerces-J                |
! |       Status: RESOLVED                    Version: 1.4.2                   |
! |   Resolution: INVALID                    Platform: PC                      |
  |     Severity: Normal                   OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: Schema-Structures       |
  +----------------------------------------------------------------------------+
  |  Assigned To: [EMAIL PROTECTED]                                  |
  |  Reported By: [EMAIL PROTECTED]                                         |
  +----------------------------------------------------------------------------+
  |          URL:                                                              |
  +============================================================================+
***************
*** 94,96 ****
--- 93,110 ----
  </AGlobalElement2>
  </MyElementGlobals>
  -->
+ 
+ ------- Additional Comments From [EMAIL PROTECTED]  2001-08-07 10:25 -------
+ By looking at element "ALocalElement2" in type "RestrictedTypeLocals", I 
+ noticed that you didn't specify a type for this element, so the parser uses the 
+ default type: "xsd:anyType".
+ 
+ Now to make "RestrictedTypeLocals" validly derived 
+ from "BaseTypeLocals", "xsd:anyType" must be validly derived from "xsd:string", 
+ which is not true.
+ 
+ To solve the problem, simply provide a type for "ALocalElement2":
+   <xsd:element name="ALocalElement2" type="xsd:string"/>
+ 
+ Cheers,
+ Sandy Gao
\ No newline at end of file

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

Reply via email to