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 2001/12/22 12:48:16 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

dkiely@ocv.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|<extension> does not work --|<extension> does not work --
                   |base/parent elements not    |ancestor elements not
                   |recognized                  |recognized



------- Additional Comments From dkiely@ocv.com  2001-12-22 03:48 -------
Also, here's the error messages from the output...

Note how <firstElement> and <secondElement> from baseType are not recognized.

--------------------------------------------------

C:\test>SAXPrint -v=always -s -n -x=UTF-8 bug-extension-extended.xml
<?xml version="1.0" encoding="UTF-8"?>
<extended xsi="http://www.w3.org/2001/XMLSchema-instance"
bug="http://www.bug.com/extension" schemaLocation="http://www.bug.com/extension
bug-extension.xsd">


Error at file C:\TEMP\v2.6\bug-extension-extended.xml, line 9, char 16
  Message: Unknown element 'firstElement'
<firstElement>first</firstElement>

Error at file C:\TEMP\v2.6\bug-extension-extended.xml, line 10, char 17
  Message: Unknown element 'secondElement'
<secondElement>second</secondElement>
 <thirdElement>third</thirdElement>

</extended>
C:\test>

--------------------------------------------------

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