That's not a valid schema dateTime value, since schema requires the 'T' 
character as a separator between the date and time components. If you 
try validating the document against the schema you should see an error 
on this.

Are all the date/time values you're working with of this type? It'd be 
pretty easy for you to define a custom type to handle this - but the 
real problem is on the document source side, since they're creating 
documents which don't match the schema.

  - Dennis


Prashanth wrote:
> Hi Dennis,
>               This is the type of the date value being used from the 
> xsd : 
> *<xsd:element name="creationTime" type="dateTime"/>*
> and the actual value in the xml that i need to parse is 
> this: *2009-08-12 12:18:06*
>
> Best Regards,
> Prashanth
>
>
> Message: 4
> Date: Fri, 15 Jan 2010 11:42:57 +1300
> From: Dennis Sosnoski <d...@sosnoski.com <mailto:d...@sosnoski.com>>
> Subject: Re: [jibx-users] [jibx-devs] [jira] Resolved: (JIBX-219) JiBX
>        is not  ready to work with xsd:date XML type
> To: JiBX users <jibx-users@lists.sourceforge.net 
> <mailto:jibx-users@lists.sourceforge.net>>
> Message-ID: <4b4f9df1.2070...@sosnoski.com 
> <mailto:4b4f9df1.2070...@sosnoski.com>>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Prashanth
>
> The issue you're referring to is an old one, relating to xsd:date
> values. What is the type of value you're using, and what is the actual
> value in the document? If the Java value is a java.util.Date the XML
> representation *does* need to include the 'T' separator.
>
>  - Dennis
>
> Dennis M. Sosnoski
> XML and Web Services in Java
> Training and Consulting
> http://www.sosnoski.com 
> <http://www.sosnoski.com/> - http://www.sosnoski.co.nz 
> <http://www.sosnoski.co.nz/>
> Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
>
> On Wed, Jan 13, 2010 at 11:01 AM, Prashanth 
> <prashanth.pere...@gmail.com <mailto:prashanth.pere...@gmail.com>> wrote:
>
>     I also tried running my program with the 1.2.2. SNAPSHOT jars
>     at http://jibx.sourceforge.net/maven/jibx/jars/ . But even after
>     running CodeGen on the source code, compiling, binding and
>     running, i still get the same exception. Are there any other jars
>     that i am missing ?
>
>
>     On Tue, Jan 12, 2010 at 4:30 PM, Prashanth
>     <prashanth.pere...@gmail.com <mailto:prashanth.pere...@gmail.com>>
>     wrote:
>
>         Is there a fix available for this ? I am still getting the
>         same exception " org.jibx.runtime.JiBXException: Missing 'T'
>         separator in dateTime " with jibx 1.2.1 
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> ------------------------------------------------------------------------
>
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>   

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to