Re: Abstract type and derivation

If you read the release notes for XMLSpy Beta 3, you'll find...

" + the following XML Schema components are not yet implemented inside the
validator core:
        - all
        - anyAttribute
        - unique, key, keyref
        - redefine
        - final
        - use=prohibited
        - abstract, block, nullable
        - user-defined duration and period facets (the built-in types are,
however, fully supported)
        - \p{X} category escape for pattern facets
        - \p{IsX} block escape for pattern facets
"

I have had the same problem with abstract types, have emailed XMLSpy, and
have received an assurance
that support will be there in the production version. It would be nice to
see it sooner rather than later though :-)

Hope this helps.

Regards
Michael



                                                                                                                        
                    ht@cogsci.ed.ac.uk                                                                                  
                    (Henry S.                 To:     "Bruno Chatel" <bcha@chadocs.com>                                 
                    Thompson)                 cc:     <xmlschema-dev@w3.org>                                            
                    Sent by:                  Subject:     Re: Abstract type and derivation                             
                    xmlschema-dev-requ                                                                                  
                    est@w3.org                                                                                          
                                                                                                                        
                                                                                                                        
                    22/12/2000 03:43                                                                                    
                    AM                                                                                                  
                                                                                                                        
                                                                                                                        




"Bruno Chatel" <bcha@chadocs.com> writes:

> I write a XML Schema using the "abstract type" feature, and related
> extension .  Every thing is ok with XSV, but I am not able to load a
> document with XML Spy (3.5 beta2) because of it raise an error on an
> element using abstrcat type.  Error message is Nothing allowed
> inside empty element "blabla"
>
> Is it a problem in my declarations or a mistake in XMLSpy ?
>
> mc.xsd
> --------
> <xsd:element name="then" type="actType"/>
> <xsd:complexType name="actType" abstract="true"/>
>
> phr.xsd
> --------
> <import namespace="..." schemaLocation="mc.xsd/>
>  <xsd:complexType name="phrActType">
>   <xsd:complexContent>
>    <xsd:extension base="mc:actType">
>       <xsd:choice maxOccurs="unbounded">
>         <!-- elements -->
>         ...
>       </xsd:choice>
>    <xsd:extension>
>  </xsd:complexContent>
> </xsd:complexType>
>
>
> phr.xml (corresponding to phr.xsd)
> ------------------------------------
> <mc:then xsi:type="phrActType">
>     .....
> </mc:then>
>
>
> XMLSpy error message
> -------------------------
> Nothing allowed inside empty element "mc:then"

I believe your stuff is OK, so I guess we need to here from XML Spy as
to why they reject it.

ht
--
  Henry S. Thompson, HCRC Language Technology Group, University of
Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
               Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
                          URL: http://www.ltg.ed.ac.uk/~ht/

Received on Wednesday, 27 December 2000 23:40:50 UTC