Hi
I have an Xform that will not deploy at all, because of some error in it. Debugging is a painful process, but I am learning. The Orbeon sandbox helped me along the way. I have used schema/XML validators to iron out some errors. But I am still stuck. Orbeon Sandbox is not able to detect (?) my error or something else is happening.. I am not asking anyone to debug the code for me, because I know everyone is so busy and I have no intention of burdening anyone. But how can I debug this piece of code? Any suggestions are helpful. I hate to attach my files here, because I feel like I would be troubling people here.. thanks anyways |
Administrator
|
Are you saying that your XForms loads fine in the XForms sandbox, but then doesn't work as expected? If there are errors, you should either see them right away when you load the form, or if those are submission errors, you should see something in the log. If you are using Tomcat, in most cases you will find the Orbeon Forms log file in the Tomcat logs directory (ops.log). If you don't find it there, check the configuration you have in the resources/config/log4j.xml. Alex |
In reply to this post by ilango_g
XGuy wrote:
> Hi > I have an Xform that will not deploy at all, because of some error in it. > Debugging is a painful process, but I am learning. The Orbeon sandbox helped > me along the way. I have used schema/XML validators to iron out some errors. > But I am still stuck. Orbeon Sandbox is not able to detect (?) my error or > something else is happening.. > > I am not asking anyone to debug the code for me, because I know everyone is > so busy and I have no intention of burdening anyone. > > But how can I debug this piece of code? Any suggestions are helpful. I hate > to attach my files here, because I feel like I would be troubling people > here.. > > thanks anyways > oXygen found it right away. This is even better when you can validate as you go. Second, look at your log. By selecting (ie uncommenting) <appender-ref ref="ConsoleAppender"/> in log4j.xml, you should get all your error messages into catalina.out. The default probably puts them in ops.log. In any case, constant reference to this file will save much hair pulling. Third, never start a script, page or program from a blank page. Always find someone else's work that is close and sequentially modify it until you get what you need. Debug and backup each step for when you stray way off the path. That way you have only your last area of focus to search for errors. But don't feel bad about posting your code. If the only questions people ask are really hard then Erik has to answer them all. Ask easy questions and we can all help. Which is supposed to be how this works. While I'm ranting... stop worrying about page layout until everything works. Then do like the boys here in Appalachia do at closing time: have a couple beers and whatever is in front of you will look a lot better. -- 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 |
I am not using a dedicated XML editor. However I did use the XML PLugin under Notepad++. Perhaps that is not enough (??)
I will try your suggestions now and also post the code here.
|
In reply to this post by Alessandro Vernet
I admit I have not been looking at the log file in Tomcat at all. I do see a strange error "element html not allowed here". I do not know what that means.
|
Administrator
|
On Jan 14, 2008 1:07 PM, XGuy <[hidden email]> wrote:
> > I admit I have not been looking at the log file in Tomcat at all. I do see a > strange error "element html not allowed here". I do not know what that > means. Could you quote the full exception or error message? 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 |