Hi
I have a problem with my XForm. When I run it in my sandbox, I come up with the following error: element 'html' not allowed here. Digging into the stack trace I see things like: (executing processor: name='{http://www.orbeon.com/oxf/processors}null-serializer'): line 27 of oxf:/config/xforms-widgets.xsl (dispatching XForms event: event='xforms-model-construct', target id='xforms-element-1'): line 1, column 7 of http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd: element "html" is not allowed here http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd, line 1, column 7: element "html" is not allowed here line 1, column 7 of http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd: element "html" is not allowed here http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd, line 1, column 7: element "html" is not allowed here line 27 of oxf:/config/xforms-widgets.xsl (dispatching XForms event: event='xforms-model-construct', target id='xforms-element-1'): line 1, column 7 of http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd: element "html" is not allowed here http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd, line 1, column 7: element "html" is not allowed here line 1, column 7 of http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd: element "html" is not allowed here http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd, line 1, column 7: element "html" is not allowed here -- What does it mean? I am trying to look at my .xsd file again, but I can't figure out so far, what the problem is and where it lies. Any suggestions are appreciated |
Is your file proper xhtml : <html xmlns="http://www.w3.org/1999/xhtml" > My best guess, --Hank On Jan 14, 2008, at 7:23 AM, XGuy wrote: > > Hi > I have a problem with my XForm. When I run it in my sandbox, I come > up with > the following error: > > element 'html' not allowed here. > > Digging into the stack trace I see things like: > > (executing processor: > name='{http://www.orbeon.com/oxf/processors}null-serializer'): line > 27 of > oxf:/config/xforms-widgets.xsl (dispatching XForms event: > event='xforms-model-construct', target id='xforms-element-1'): line 1, > column 7 of http://www.orbeon.com/ops/xforms-sandbox/ > CreateReport.xform.xsd: > element "html" is not allowed here > http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd, > line 1, > column 7: element "html" is not allowed here > line 1, column 7 of > http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd: > element > "html" is not allowed here > http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd, > line 1, > column 7: element "html" is not allowed here > line 27 of oxf:/config/xforms-widgets.xsl (dispatching XForms event: > event='xforms-model-construct', target id='xforms-element-1'): line 1, > column 7 of http://www.orbeon.com/ops/xforms-sandbox/ > CreateReport.xform.xsd: > element "html" is not allowed here > http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd, > line 1, > column 7: element "html" is not allowed here > line 1, column 7 of > http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd: > element > "html" is not allowed here > http://www.orbeon.com/ops/xforms-sandbox/CreateReport.xform.xsd, > line 1, > column 7: element "html" is not allowed here > > > -- > What does it mean? I am trying to look at my .xsd file again, but I > can't > figure out so far, what the problem is and where it lies. > > Any suggestions are appreciated > -- > View this message in context: http://www.nabble.com/Xforms-Sandbox- > error---element-%22html%22-is-not-allowed-here- > tp14803678p14803678.html > Sent from the ObjectWeb OPS - Users mailing list archive at > Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by ilango_g
On Jan 14, 2008 7:23 AM, XGuy <[hidden email]> wrote:
> What does it mean? I am trying to look at my .xsd file again, but I can't > figure out so far, what the problem is and where it lies. This happens when you have a reference to a schema in your XForms, but that schema cannot be found. The XForms engine tries to load the schema, get back an HTML page, and tries to interpret that page as your schema. But of course "html" is not allowed as the root element of a schema. Hence the error. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |