DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17798>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

Content type of derived type (mixed/element-only)

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-03-10 14:41 -------
If you read section 3.4.2 of the structure spec [1], look for 3.2.1 under 
{content type} for complex content, you'll see:

"If the effective content is empty, then the {content type} of the type 
definition resolved to by the actual value of the base [attribute]."

In your example, the effective content is empty, so the content type of the 
base is used, which is mixed. The result is, the type for "myElem" has a type 
with mixed content.

[1] http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-
errata.html#declare-type

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

Reply via email to