OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Is it correct schema definition?

[ Lists Home | Date Index | Thread Index ]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kasimier Buchcik writes:

>> >   <element id="id_Afghanistan" name="Afghanistan" type="countryItemType"
>> > substitutionGroup="CountryItemHead" fixed="" nillable="true" />
>
> [...]
>
> HST wrote:
>> Also, under the circumstances, 'nillable="true"' is pointless, as it
>> means elements validated by that decl _may_ be empty even if their
>> type doesn't allow that, but the type _does_ allow that, so . . .
>
> If an xsi:nil="true" gives the extra information that the element is NIL
> via PSVI, then this is not pointless, since NIL is different from an
> empty element. I guess that's the most wanted effect of xsi:nil:
> providing a way of expressing a content of NIL.

You're right, thanks,

ht
- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDlwf4kjnJixAXWBoRAoPZAJ0WL5aeEhXrE2nVZ75tposxSFMdagCfRfMa
+Vx93Yh6PMujFoYzNde6PwY=
=Hqcw
-----END PGP SIGNATURE-----




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS