Hi.
I've been using some nightlybuild from Feb-08 and it has had few bugs that seem to be fixed in newer nightlybuild according to ow2 bug tracker. Upgrading has been unsuccessfull: my application works with that feb-08 nightlybuild but opening it with current gives this exception= Java Exceptions are the native mechanism by which Orbeon Forms reports errors. More than one exception may be provided below but usually the first exception along with the Orbeon Forms Stack Trace above provide enough information to track down an issue. Toggle java.net.MalformedURLException Exception Class java.net.MalformedURLException Message no protocol: ../../common/commonEntity.xsd Servlet Stack Trace (361 method calls) Class Name Method Name File Name Line Number java.net.URL <init> URL.java 567 java.net.URL <init> URL.java 464 org.orbeon.oxf.resources.URLFactory createURL URLFactory.java 45 org.orbeon.oxf.resources.URLFactory createURL URLFactory.java 41 org.orbeon.oxf.xforms.XFormsModelSchemaValidator$MSVGrammarReaderController resolveEntity XFormsModelSchemaValidator.java 148 com.sun.msv.reader.Controller resolveEntity Controller.java 40 com.sun.msv.reader.GrammarReader resolveLocation GrammarReader.java 353 com.sun.msv.reader.GrammarReader switchSource GrammarReader.java 402 com.sun.msv.reader.xmlschema.XMLSchemaReader switchSource XMLSchemaReader.java 677 com.sun.msv.reader.xmlschema.ImportState startSelf ImportState.java 41 I've xsd that has few import-elements like this: <import namespace="http://path/entity" schemaLocation="../../common/commonEntity.xsd"> </import> |
Administrator
|
On Mon, May 5, 2008 at 3:44 AM, Mauno <[hidden email]> wrote:
> I've xsd that has few import-elements like this: > <import namespace="http://path/entity" > schemaLocation="../../common/commonEntity.xsd"> > </import> This might be a fix in the schema validation library we are using. I see that in the schemaLocation attribute you're supposed to have an xs:anyURI [1]. The definition refers to RCF 2396 [2] which indicates that a URI must start with "scheme:". So "../../common/commonEntity.xsd" is not a valid URI. [1] http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#anyURI [2] http://www.ietf.org/rfc/rfc2396.txt -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- 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 |
The uri is valid, it's 'URI reference'. I cannot use scheme:/ when URI reference is used. Scheme for referenced URI's should be inherited from base URI as described in section 5.2 in rfc2396.
|
Administrator
|
On Mon, May 5, 2008 at 11:04 PM, Mauno <[hidden email]> wrote:
> > The uri is valid, it's 'URI reference'. I cannot use scheme:/ when URI > reference is used. Scheme for referenced URI's should be inherited from base > URI as described in section 5.2 in rfc2396. That's a good point :). We are using MSV for schema validation, so you might want to try this in MSV, running MSV stand-alone. People on the MSV mailing list might also be able to help you on this. See https://msv.dev.java.net/. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- 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 |