Validation Processor gMonth error

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

Validation Processor gMonth error

bsteuhl
I tested the validation processor by referencing an xml file and schema located within the root directory of the orbeon application as an initial test.  I get the following error on gMonth:

Error "--05" does not satisfy the "gMonth" type(schema: null)

The value is in correct format per gMonth specification?

When I remove this element, which is not required per schema, I get no error and the xml file is returned in the browser.

Is this a bug?  

I do not control the schema since it is quite complex and constructed by the State of Pennsylvania so I can not change the schema.

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Validation Processor gMonth error

Erik Bruchez
Administrator
This is with oxf:validation? This uses MSV behind the scene:


I can't rule out a bug in the MSV validator.

-Erik

On Thu, Jan 20, 2011 at 7:04 AM, bsteuhl <[hidden email]> wrote:

I tested the validation processor by referencing an xml file and schema
located within the root directory of the orbeon application as an initial
test.  I get the following error on gMonth:

Error "--05" does not satisfy the "gMonth" type(schema: null)

The value is in correct format per gMonth specification?

When I remove this element, which is not required per schema, I get no error
and the xml file is returned in the browser.

Is this a bug?

I do not control the schema since it is quite complex and constructed by the
State of Pennsylvania so I can not change the schema.

Thank you.
--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Validation-Processor-gMonth-error-tp3225521p3225521.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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




--
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: Re: Validation Processor gMonth error

bsteuhl
My mistake I was using --MM to indicate month but I should have been using --MM--.  So validator is working nicely only if I can get the validator processor to send back application/xml content type when there is an error and decorate attribute set to true.  Currently I keep getting the validation error which exits the processor and sends back text/html.
 

Brian Steuhl
Website: http://BTMSoftwareSolutions.com

Website: http://BTMDeals.com
Business Email: [hidden email]
Cell: 908-421-0742

Home Office: 732-961-3187

Google Voice: 732-800-1286 (1BTM)

BTM Deals Alert Sign Up Form
RSS Feed To My Blog:

Business Process Modeling - BTMSoftwareSolutions.com




From: Erik Bruchez <[hidden email]>
To: [hidden email]
Sent: Tue, January 25, 2011 12:14:42 AM
Subject: [ops-users] Re: Validation Processor gMonth error

This is with oxf:validation? This uses MSV behind the scene:


I can't rule out a bug in the MSV validator.

-Erik

On Thu, Jan 20, 2011 at 7:04 AM, bsteuhl <[hidden email]> wrote:

I tested the validation processor by referencing an xml file and schema
located within the root directory of the orbeon application as an initial
test.  I get the following error on gMonth:

Error "--05" does not satisfy the "gMonth" type(schema: null)

The value is in correct format per gMonth specification?

When I remove this element, which is not required per schema, I get no error
and the xml file is returned in the browser.

Is this a bug?

I do not control the schema since it is quite complex and constructed by the
State of Pennsylvania so I can not change the schema.

Thank you.
--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Validation-Processor-gMonth-error-tp3225521p3225521.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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





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