Re: [Xsltforms-support] When external schema defined, FF cannot see primitive xsd types
Brought to you by:
alain-couthures
From: Grégoire C. <gco...@gm...> - 2010-03-30 08:16:49
|
Hi Kostis, Kostis Anagnostopoulos a écrit : > Grégoire, i did not understand where or why should i use your > workaround - probably you did not understand the problem i presented > in the fist place I didn't looked closely enough. ;) So the only difference with my problem is that your error comes from the "xsd" prefix not being used anywhere else than in the "bind-otherItem" : <xf:bind id="bind-otherItem" nodeset="/data:root/data:otherItem" type="xsd:integer" /> In this case, XSLTForms uses the "namespace::" axis to search through the namespaces declared, but Firefox doesn't support this axis, hence the error. But fortunately if you use this namespace somewhere else, like in the "html" element, it will work. So you ought to try this : <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsd:workaroundForFirefoxBug="https://bugzilla.mozilla.org/show_bug.cgi?id=94270" xmlns:data="http://some-uri.org/data"> If I'm not wrong (am I?), adding a bogus attribute in the "html" element won't do any damage/ Regards, Grégoire |