Defining dataLines Using Native Schema Constructs

6-46 Oracle Fusion Middleware Users Guide for Technology Adapters element name=DOB type=string nxsd:style=terminated nxsd:terminatedBy=, element name=Telephone type=string nxsd:style=terminated nxsd:terminatedBy={eol} sequence complexType element schema Translated XML Using Native Schema: terminated xmlns=http:xmlns.oracle.compcbpelnxsdsmoketest PersonNameTamPersonName AddressaddrAddress DOB20-08-1954DOB Telephone0161-499-1718Telephone terminated

6.2.2.18 Defining Date Formats with Time Zone

In the translator, the date or time must be associated with a time zone. The translator supports the date formats with time zone for both, the date in native data and for the date in XML. There are two parts when translating a datetime string. First, the format of the date in the native data dateformat, second is the time zone to use when parsing that date timeZone or useTimeZone. The translator uses these details while parsing the datetime string. After the parsing, by default, the date string is converted to the ISO-8601 format in an XML. You can override the defaults by using XMLDateFormat and XMLTimeZone, or useTimeZone. Native Data Format to Be Translated: 111602241102 11-20-2002 23112002 01022003 01:02 01022003 03:04:05 Thu, 26 May 2005 15:50:11 India Standard Time Do, 26 Mai 2005 15:43:10 Indische Normalzeit 20063202 111602 Native Schema: ?xml version=1.0 encoding=US-ASCII? schema xmlns=http:www.w3.org2001XMLSchema xmlns:nxsd=http:xmlns.oracle.compcbpelnxsd targetNamespace=http:xmlns.oracle.compcbpelnxsdsmoketest elementFormDefault=qualified attributeFormDefault=unqualified nxsd:stream=chars nxsd:version=NXSD element name=dateformat complexType Native Format Builder Wizard 6-47 sequence element name=StartDate type=date nxsd:dateFormat=MMddyy nxsd:localeLanguage=en nxsd:style=fixedLength nxsd:length=8 element name=EndDate type=date nxsd:dateFormat=ddMMyy nxsd:style=terminated nxsd:terminatedBy={eol} element name=Milestone type=dateTime nxsd:useTimeZone=UTC nxsd:dateFormat=MM-dd-yyyy nxsd:style=terminated nxsd:terminatedBy={eol} element name=DueDate type=dateTime nxsd:useTimeZone=UTC nxsd:dateFormat=ddMMyyyy nxsd:style=terminated nxsd:terminatedBy={eol} element name=Date type=dateTime nxsd:useTimeZone=UTC nxsd:dateFormat=MMddyyyy hh:mm nxsd:style=terminated nxsd:terminatedBy={eol} element name=Date type=dateTime nxsd:useTimeZone=UTC nxsd:dateFormat=MMddyyyy hh:mm:ss nxsd:style=terminated nxsd:terminatedBy={eol} element name=LongDateInEnglish type=dateTime nxsd:displayTimeZone=true nxsd:useTimeZone=IST nxsd:dateFormat=EEE, d MMM yyyy HH:mm:ss zzzz nxsd:localeLanguage=en nxsd:localeCountry=US nxsd:style=terminated nxsd:terminatedBy={eol} element name=LongDateInGerman type=dateTime nxsd:displayTimeZone=true nxsd:useTimeZone=IST nxsd:dateFormat=EEE, d MMM yyyy HH:mm:ss zzzz nxsd:localeLanguage=de nxsd:style=terminated nxsd:terminatedBy={eol} element name=InvalidDate type=dateTime nxsd:useTimeZone=UTC nxsd:dateParsingMode=lax nxsd:dateFormat=yyyyMMdd nxsd:style=terminated nxsd:terminatedBy={eol} element name=MyFormatDate type=string nxsd:dateFormat=MMddyy nxsd:xmlDateFormat=dd-MM-yyyy nxsd:localeLanguage=en nxsd:style=fixedLength nxsd:length=8 sequence complexType element schema Translated XML Using Native Schema: dateformat xmlns=http:xmlns.oracle.compcbpelnxsdsmoketest StartDate2002-11-16StartDate EndDate2002-11-24EndDate Milestone2002-11-20T00:00:00Milestone DueDate2002-11-23T00:00:00DueDate Date2003-01-02T01:02:00Date Date2003-01-02T03:04:05Date