How do I specify a nullable xs:int?
- From: jacksuyu@xxxxxxxxx
- Date: 22 Nov 2005 09:43:43 -0800
I have one xsd which defines element "Port" as "xs:int", and there are
bunch of xml files use "Port" element. But a lot of those files
contains <Port/>, which is treated invalid in xml validation.
I am wondering whether there is anyway to specify nullable integer, say
treat <Port/> the same as <Port>0</Port>?
Thanks in advance.
.
- Follow-Ups:
- Re: How do I specify a nullable xs:int?
- From: Henry S. Thompson
- Re: How do I specify a nullable xs:int?
- From: Martin Honnen
- Re: How do I specify a nullable xs:int?
- Prev by Date: Re: non-deterministic content model in xsd
- Next by Date: Re: How do I specify a nullable xs:int?
- Previous by thread: Text OR Fixed structure in an ELEMENT
- Next by thread: Re: How do I specify a nullable xs:int?
- Index(es):