Default/Fixed Values in XML Schemas

[email protected] 6 May 2007 06:37:06 -0700
Newsgroups gmane.comp.mozilla.devel.xml
Organization http://groups.google.com
Message-ID <[email protected]>
Hello

Does FF ignore default or fixed values in XML schemas? When processing
an XML document using XSLT, the default/fixed values from the
specified schemas are not available. This makes it necessary to
explicitely set the values in the document without relying on the
default/fixed values from the schema.

I pasted the relevant files on pastebin:

* the XML document http://pastebin.ca/473796
* the XML schema http://pastebin.ca/473799
* the XSLT document http://pastebin.ca/473797

If you save those to disk and open the XML Document with FF, you get
an empty xhtml document, because the default/fixed value from the
schema is not used. Now if you edit the XML Document and uncomment the
2nd root element that explicitely sets the value, the document will be
transformed correctly and you will see a h1 containing some text.

Any ideas?

Adrian Henke