Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lyo » Parsing ClientReponse for a DOORS Requirement
Parsing ClientReponse for a DOORS Requirement [message #1693191] Wed, 22 April 2015 10:30 Go to next message
Carlos Gomez is currently offline Carlos GomezFriend
Messages: 63
Registered: October 2010
Member
Hi,

I'm using DoorsOauthSample code to get requirements from a DOORS module.

The code works well, but when I try to parse the ClientResponse to a Requirement (cltRes.getEntity(Requirement.class)) I get the following exception:


org.apache.wink.client.ClientRuntimeException: javax.ws.rs.WebApplicationException: com.hp.hpl.jena.datatypes.DatatypeFormatException: Lexical form '2012-07-02' is not a legal instance of Datatype[http://www.w3.org/2001/XMLSchema#dateTime -> class com.hp.hpl.jena.datatypes.xsd.XSDDateTime] Lexical form '2012-07-02' is not a legal instance of Datatype[http://www.w3.org/2001/XMLSchema#dateTime -> class com.hp.hpl.jena.datatypes.xsd.XSDDateTime] during parse -org.apache.xerces.impl.dv.InvalidDatatypeValueException: cvc-datatype-valid.1.2.1: '2012-07-02' is not a valid value for 'dateTime'.


How can I fix this problem?

Thanks for your help
Re: Parsing ClientReponse for a DOORS Requirement [message #1694030 is a reply to message #1693191] Thu, 30 April 2015 07:52 Go to previous messageGo to next message
Maeve OReilly is currently offline Maeve OReillyFriend
Messages: 13
Registered: October 2013
Junior Member
Hi - that's a warning, right? with the latest sample it shouldn't be an error, so it does work. But gives that warning.
Re: Parsing ClientReponse for a DOORS Requirement [message #1696424 is a reply to message #1694030] Tue, 26 May 2015 12:25 Go to previous message
Carlos Gomez is currently offline Carlos GomezFriend
Messages: 63
Registered: October 2010
Member
Ok, I'm using version 2.1, do you mean 3.0.0-snapshot?
Previous Topic:OAuth on DoorsOauthSample
Next Topic:Using OSLC query parameters to request requirements in DOORS
Goto Forum:
  


Current Time: Thu Nov 15 12:14:34 GMT 2018

Powered by FUDForum. Page generated in 0.02942 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top