Unqualified schema element not handled correctly



10 years ago
3 years ago


(Reporter: js177634, Unassigned)


Firefox Tracking Flags

(Not tracked)



(2 attachments)



10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv: Gecko/20090729 Firefox/3.5.2
Build Identifier: Firefox 3.5.2 + XForms 0.8.7pre (Gecko v1.9.1.1pre - 2009071509)

I've got two semantically equivalent XHTML+XForms pages showing the output of a fortune webservice.
On the syntax level, one is the original which contains an unqualified element as part of the XML Schema. XForms doesn't display this element, but also no error console comes up. The second one has been prepared manually to let the element be qualified. It shows up correctly.

Both pages show "Failed to process inline schema" in the error console. This seems to be a separate issue because one of the pages works just fine.

Reproducible: Always

Actual Results:  
One element is not shown in the XForms output.

Expected Results:  
The fortune slogan should be shown.

Comment 1

10 years ago

Comment 2

10 years ago

Comment 3

10 years ago
That's expected behaviour for the unqualified version, since your default namespace is the XHTML one, and thus the "return" element in the instance will  be in that namespace.

Comment 4

10 years ago
You're right, the issue here is that the wrongly generated instance section is missing an xmlns="urn:FortuneService" declaration and the discovered issue is a direct result from this.
Closing this as an invalid report myself now. The spurious validation error remains, though, it is not affected by adding the xmlns attribute.
Last Resolved: 10 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.