W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2001

Re: Attribute fixed in element element

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Sun, 23 Sep 2001 23:03:49 +0200
Message-ID: <3BAE4E35.4060401@dyomedea.com>
To: Henna Ilvonen <hilvonen@lut.fi>
Cc: xmlschema-dev@w3.org
Henna Ilvonen wrote:

>  I'm forced to use schema version 1999 because it's the only one my
> validator ( Oracle's XDK ) accepts. I've had problems with trying to
> declare element's value fixed, like:
> 
> <xsd:element name="TEST" type="xsd:string" fixed="foo"/>
> 
> Validator tells that attribute fixed is invalid, but when i checked from
> 19991216-version schema, this should be valid. Is there any other way,
> which might work, to define element's value fixed?
> 
> On the other hand, if anyone knows a schema validator working with
> c-language ,linux-platform and 2001 schemas, i'd be happy as well.


You may have a look at Xerces C:

http://xml.apache.org/xerces-c/index.html

Hope this helps.

Eric
> 
> Thanks,
>  ----------------------------------------------
>   Henna Ilvonen / hilvonen@lut.fi


-- 
See you in Scottsdale, Arizona.
      http://xmlconnections.com/xml/xmlfall2001/speakers.asp#evandervlist
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------
Received on Sunday, 23 September 2001 17:03:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:53 UTC