logo       

Re: Xerces + local XML Schema validation problem: msg#00006

Subject: Re: Xerces + local XML Schema validation problem
Hi,

You can find the form at
http://isscvs.cern.ch/cgi-bin/viewcvs-all.cgi/install/XForms/jobs.xhtml?cvsroot=moi.
I've just tested it with yesterday's Chiba CVS, and it still breaks if
I split the instances like in
http://isscvs.cern.ch/cgi-bin/viewcvs-all.cgi/install/XForms/jobs.xhtml?rev=1.1&cvsroot=moi.

Tomcat debug information:
DEBUG org.chiba.xml.xforms.constraints.DependencyGraph : built vertex
constraint(.=instance('slotsFile')/slot:Slots/slot:Slot/@id or .='')
ERROR org.chiba.xml.xforms.Container : keeping
java.lang.NullPointerException for rethrowal
DEBUG org.chiba.xml.xforms.XFormsDocument : perform default:
xforms-rebuild needed 0 ms
ERROR org.chiba.xml.xforms.Container : keeping
org.chiba.xml.xforms.exception.XFormsException for rethrowal
DEBUG org.chiba.xml.xforms.XFormsDocument : perform default:
xforms-model-construct needed 63 ms
DEBUG org.chiba.xml.xforms.ChibaBean : shutdown
org.chiba.xml.xforms.exception.XFormsException: document container not
initialized
        at org.chiba.xml.xforms.ChibaBean.ensureContainerInitialized(Unknown 
Source)
        at org.chiba.xml.xforms.ChibaBean.shutdown(Unknown Source)
        at 
org.chiba.adapter.servlet.ServletAdapter.shutdown(ServletAdapter.java:182)
        at 
org.chiba.adapter.servlet.ChibaServlet.shutdown(ChibaServlet.java:617)
        at org.chiba.adapter.servlet.ChibaServlet.doGet(ChibaServlet.java:353)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at 
org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:287)
        at 
org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:84)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:534)

On 2/22/06, Ulrich Nicolas Lissé <u.n.l-hi6Y0CQ0nG0@xxxxxxxxxxxxxxxx> wrote:
> Victor,
>
> actually cross-model instance-references have never been considered
> valid (see
> http://www.w3.org/TR/2005/PER-xforms-20051006/slice7.html#fn-instance
> for details) by the spec, but Chiba doesn't know this limitation. This
> has not been changed since. So I wonder why it doesn't work. You should
> post your form.
>
> Victor Engmark wrote:
> > Victor Engmark:
> > [sniiiiiip]
> >
> > Actually, it worked as soon as I moved all instances into the same
> > model! So it seems references to other models are no longer valid.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe