Problem with 4.0.m9 -- No namespace declaration found for prefix: xxforms

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

Problem with 4.0.m9 -- No namespace declaration found for prefix: xxforms

idwright
Hi,

I do have solution (for me) but I thought it would be useful to report
this.

I just upgraded to m9 (from m5) and I'm getting a new exception - No
namespace declaration found for prefix: xxforms

I've had loads of this kind of exception going from 3.9 to 4.0 mostly
due to namespaces in attributes in included docs and I've usually been
able to sort it out by careful checking of the xincluded files and
adding more namespace declarations but not here.

Putting a break point on OXFException I find
Dom4jUtils.extractTextValueQName line 566 gives me a value for
qNameString of xxforms:separator
searching back through the stack gives me the name of the file where the
error is occurring (it would be really nice if this was in the exception
message but that is probably tricky)

I've searched my code and I don't have xxforms:separator anywhere...

So I put the namespace declaration for xxforms in the included file
anyway and it's got rid of the problem (although then I got a different
XPath syntax error - Prefix has not been declared but that is resolvable
by further checking of the use of namespaces in included files)

For me the area of namespaces in xincluded files, primarily in
attributes, has been by far the biggest headache in going from 3.9 to
4.0 so far.

This was all working with m5

On to the next problem.... (IllegalArgumentException in RepeatControl)

Thanks for the other changes.

Regards,
Ian

2012-08-08 09:17:19,942 ERROR org.orbeon.oxf.webapp.ProcessorService  -
+----------------------------------------------------------------------------------------------------------------------+

|An Error has Occurred |
|----------------------------------------------------------------------------------------------------------------------|

|No namespace declaration found for prefix: xxforms |
|----------------------------------------------------------------------------------------------------------------------|

|Application Call Stack |
|----------------------------------------------------------------------------------------------------------------------|

|oxf:/ops/pfc/xforms-epilogue.xpl                         |  77|
60|reading processor output                          |
|oxf:/ops/pfc/xforms-epilogue.xpl                         |  88|
60|reading processor output                          |
|oxf:/ops/pfc/xforms-epilogue.xpl                         |  95|
59|reading processor output                          |
|oxf:/config/epilogue.xpl                                 |  41|
58|reading processor output                          |
|oxf:/config/epilogue-servlet.xpl                         |  31|
48|reading processor output                          |
|oxf:/config/epilogue.xpl                                 |  60|
46|executing processor                               |
|oxf:/apps/study/page-flow.xml                            |  30|
45|executing processor                               |
|oxf:/page-flow.xml                                       |  34|
90|reading page model data output                    |
|----------------------------------------------------------------------------------------------------------------------|

|Exception: org.orbeon.oxf.common.OXFException |
|----------------------------------------------------------------------------------------------------------------------|

|org.orbeon.oxf.xml.dom4j.Dom4jUtils |extractTextValueQName
|Dom4jUtils.java               | 566|
|org.orbeon.oxf.xforms.analysis.ElementAnalysis$$ano|apply
|ElementAnalysis.scala         | 280|



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Problem with 4.0.m9 -- No namespace declaration found for prefix: xxforms

Erik Bruchez
Administrator
This seems like a duplicate message. The same was sent 5 days ago, in
a different thread:

http://orbeon-forms-ops-users.24843.n4.nabble.com/email-processor-td43177.html#a4655596

-Erik

On Mon, Aug 13, 2012 at 12:04 AM, Ian Wright <[hidden email]> wrote:

> Hi,
>
> I do have solution (for me) but I thought it would be useful to report this.
>
> I just upgraded to m9 (from m5) and I'm getting a new exception - No
> namespace declaration found for prefix: xxforms
>
> I've had loads of this kind of exception going from 3.9 to 4.0 mostly due to
> namespaces in attributes in included docs and I've usually been able to sort
> it out by careful checking of the xincluded files and adding more namespace
> declarations but not here.
>
> Putting a break point on OXFException I find
> Dom4jUtils.extractTextValueQName line 566 gives me a value for qNameString
> of xxforms:separator
> searching back through the stack gives me the name of the file where the
> error is occurring (it would be really nice if this was in the exception
> message but that is probably tricky)
>
> I've searched my code and I don't have xxforms:separator anywhere...
>
> So I put the namespace declaration for xxforms in the included file anyway
> and it's got rid of the problem (although then I got a different XPath
> syntax error - Prefix has not been declared but that is resolvable by
> further checking of the use of namespaces in included files)
>
> For me the area of namespaces in xincluded files, primarily in attributes,
> has been by far the biggest headache in going from 3.9 to 4.0 so far.
>
> This was all working with m5
>
> On to the next problem.... (IllegalArgumentException in RepeatControl)
>
> Thanks for the other changes.
>
> Regards,
> Ian
>
> 2012-08-08 09:17:19,942 ERROR org.orbeon.oxf.webapp.ProcessorService  -
> +----------------------------------------------------------------------------------------------------------------------+
> |An Error has Occurred |
> |----------------------------------------------------------------------------------------------------------------------|
> |No namespace declaration found for prefix: xxforms |
> |----------------------------------------------------------------------------------------------------------------------|
> |Application Call Stack |
> |----------------------------------------------------------------------------------------------------------------------|
> |oxf:/ops/pfc/xforms-epilogue.xpl                         |  77| 60|reading
> processor output                          |
> |oxf:/ops/pfc/xforms-epilogue.xpl                         |  88| 60|reading
> processor output                          |
> |oxf:/ops/pfc/xforms-epilogue.xpl                         |  95| 59|reading
> processor output                          |
> |oxf:/config/epilogue.xpl                                 |  41| 58|reading
> processor output                          |
> |oxf:/config/epilogue-servlet.xpl                         |  31| 48|reading
> processor output                          |
> |oxf:/config/epilogue.xpl                                 |  60|
> 46|executing processor                               |
> |oxf:/apps/study/page-flow.xml                            |  30|
> 45|executing processor                               |
> |oxf:/page-flow.xml                                       |  34| 90|reading
> page model data output                    |
> |----------------------------------------------------------------------------------------------------------------------|
> |Exception: org.orbeon.oxf.common.OXFException |
> |----------------------------------------------------------------------------------------------------------------------|
> |org.orbeon.oxf.xml.dom4j.Dom4jUtils |extractTextValueQName |Dom4jUtils.java
> | 566|
> |org.orbeon.oxf.xforms.analysis.ElementAnalysis$$ano|apply
> |ElementAnalysis.scala         | 280|
>
>
>
> --
> 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
>


--
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