Re: [Moderator Action] Making text required for an element

vriezenj@lakeviewtech.com writes:

> I'm using XMLSpy 3.0, which is based on the April Rec'
> 
> I tried both of the following:   (<restriction> is not supported in April's
> definition)
> 
> <xsd:element name="foo">
>      <xsd:complexType content="textOnly" base="xsd:string">
>           <xsd:minLength value="1"/>
>      </xsd:complexType>
> </xsd:element>
> 
> <xsd:element name="bar">
>      <xsd:simpleType base="xsd:string">
>           <xsd:minLength value="1"/>
>      </xsd:simpleType>
> </xsd:element>

Sorry, what do you mean you tried them?  What instances, and what
results?  You could compare the results with those given by XSV [1].

ht

[1] http://www.w3.org/2000/06/webdata/xsv
-- 
  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 Thursday, 26 October 2000 08:46:46 UTC