Prefix not declared during generating view

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Prefix not declared during generating view

pzeszko
This post was updated on .
Hello,

I've started learning Orbeon forms two days ago and I'm totaly newbie so please go easy on me :)

The problem occurs when I try to generate view out of my form, instead of the form I have Orbeon Error Page. Error :

|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|XPath syntax error at char 13 in {/s501A:RD501A/s501A:C501A}:                                                         |
|    Prefix s501A has not been declared  

The funny thing is, I don't think there is such prefix as 's501A', I cannot find it in my files.
Moreover, if I'd miss declaring some prefixes would my form show at all ? I mean, I ma able to fill the form, validate it with a schema but cannot generate preview.

Also, when I try to generete PDF out of my form (all fields blank) I got this error :

|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|The context item for axis step child::element({http://www.w3.org/2001/XMLSchema}dateTime, xs:anyType) is not a node   |

I hope these two will ring a bell maybe.

I'd appreciate any comments.
Reply | Threaded
Open this post in threaded view
|

Re: Prefix not declared during generating view

Alessandro  Vernet
Administrator
Hi,

Unfortunately, none of those 2 errors ring a bell. And the first one must really be specific to the XML you're using, as I'm not aware of Orbeon Forms generating XML that looks anything like this. So I think that the next step if you'd like us to be able to help with this would be for you to create a minimal test case that we can run here and use to reproduce these issues.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet