You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/01/02 20:43:18 UTC

DO NOT REPLY [Bug 5569] - does not work -- ancestor elements not recognized

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=5569>.
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=5569

<extension> does not work -- ancestor elements not recognized

knoaman@ca.ibm.com changed:

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



------- Additional Comments From knoaman@ca.ibm.com  2002-01-02 11:43 -------
Fix is in CVS. You also need to make modifications to your xml file.
In the .xsd file you have 'elementFormDefault="true"', so in your xml
file you need to qualify all your elements (i.e. bug:firstElement).
Also, in the .xsd file you should not prefix elementFormDefault or 
attributeFormDefault.

FYI here is the diff:

Index: TraverseSchema.cpp
===================================================================

@@ -5493,7 +5493,7 @@

-        if (isBaseAnyType) {
+        if (isBaseAnyType && !specNode) {
   
===================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org