You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Henna Ilvonen <hi...@intellitel.com> on 2001/12/06 17:51:44 UTC

Attribute fixed not working?

 An element in XMl-file has no value. Instead, its value has been
constrained to be certain one in schema with attribute fixed. However,
searches from DOM return no content for this element. If value is added
to XML-file itself, it is found and returned perfectly. Reasonable
explanations seem to be that somehow something is done wrong or fixed
doesn't work with Xerces-C. If anyone has idea, i'm happy to know.
Declarations look like:
XML:
...
 <foo></foo>
...
schema:
...
<element name="foo" type="xsd:string" fixed="bar"/>
...


------------------------------------------
Henna Ilvonen - Software Engineer
Intellitel Communications Ltd.
henna.ilvonen@intellitel.com



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org