I'm setting up some simple applications to learn how the Presentation
Server works. I've got one working, but the view fails to render properly on the second. The error message is that the xhtml tags as not recognized: "line 3 column 1 - Error: <xhtml:html> is not recognized!" and so on for every element in the view. The form is being read, and the view is being read too. But for some reason none of the XHTML elements are understood as such. At first I thought it was a namespace problem, but I've checked this and everything appears to be correct. Now I suspect it's some setup/configuration issue. But I've checked everything I know to check and am at a stop. I'm running the app through the basic Orbeon samples page (I've added a folder "health" inside "orbeon\WEB-INF\resources\examples"). I've just added my own applications to the list of standard apps in the demo. Any help will be much appreciated. I've attached my app files for examination. Don -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws sampleApp.zip (1K) Download Attachment |
On Mon, 12 Sep 2005 08:50:09 -0500, "Donald Smith" <[hidden email]> said: > I'm setting up some simple applications to learn how the Presentation > Server works. I've got one working, but the view fails to render > properly on the second. > > The error message is that the xhtml tags as not recognized: > > "line 3 column 1 - Error: <xhtml:html> is not recognized!" > > and so on for every element in the view. > > The form is being read, and the view is being read too. But for some > reason none of the XHTML elements are understood as such. At first I > thought it was a namespace problem, but I've checked this and everything > appears to be correct. Now I suspect it's some setup/configuration > issue. But I've checked everything I know to check and am at a stop. > > I'm running the app through the basic Orbeon samples page (I've added a > folder "health" inside "orbeon\WEB-INF\resources\examples"). I've just > added my own applications to the list of standard apps in the demo. then you running through the portlet container and that will just make the learning curve much steeper than need be. Just to be clear, we ship unfinished portlet container in OPS, and we use it to display the examples, but one doesn't need to use it to use OPS. And, as I have said, it introduces an extra layer of complexity that just makes learning OPS more difficult. Btw I tried dumping your files in a project created by New | Project in the Studio plugin and the running the result. I didn't get any errors when I did this. -- Regards, Dan S > > Any help will be much appreciated. I've attached my app files for > examination. > > Don -- http://www.fastmail.fm - A fast, anti-spam email service. -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by Smith, Donald
Donald Smith wrote:
> I'm setting up some simple applications to learn how the Presentation > Server works. I've got one working, but the view fails to render > properly on the second. > > The error message is that the xhtml tags as not recognized: > > "line 3 column 1 - Error: <xhtml:html> is not recognized!" > > and so on for every element in the view. > > The form is being read, and the view is being read too. But for some > reason none of the XHTML elements are understood as such. At first I > thought it was a namespace problem, but I've checked this and everything > appears to be correct. Now I suspect it's some setup/configuration > issue. But I've checked everything I know to check and am at a stop. > > I'm running the app through the basic Orbeon samples page (I've added a > folder "health" inside "orbeon\WEB-INF\resources\examples"). I've just > added my own applications to the list of standard apps in the demo. > > Any help will be much appreciated. I've attached my app files for > examination. I tried to run your files and get some correct results with this page flow (the same you sent but with the epilogue uncommented and the action left commented): <config xmlns="http://www.orbeon.com/oxf/controller" xmlns:xu="http://www.xmldb.org/xupdate"> <page path-info="/health" xforms="form.xml" view="view.xml"> </page> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Also, you have an error in view.xml. Replace: <xforms:group ref="instance"> with: <xforms:group ref="/instance"> The former worked with 2.8, but that was clearly a bug, as the default context is not the document node of the default instance, but the root element of the default instance. -Erik -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |