1 Reply Latest reply: Jul 1, 2008 8:59 AM by 807589 RSS


      hi all,

      I want to define a element in type date like this:

      for example: <xs:element name="navdate" form="unqualified" type="xs:date"/>

      But my date is in format DD/MM/YYYY and for the validation the format have to be YYYY-MM-DD.

      It is possible to change the validation format ?

      but my problem is jaxb, jaxb knows only YYYY-MM-DD format. I would like some describle, I looking for this solution, for long time.

        • 1. Re: jaxb
          I don't think you can change the format of the built-in date types, but you could go on a little adventure and define your own date type in the Schema. Shouldn't be too hard, and the process will teach you a lot about how schemas work, which is invaluable really