This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The generated by mapper deadline expression has wrong format: e.g.: 1971-01-01T04:01:1.0 +03:00 Steps to reproduce: 1. create Synchronous Sample and open Synchronous.bpel 2. add wait activity 3. from the property editor change "Alarm Type" onto "Until" 4. select the wait activity and switch to the bpel mapper 5. Choose from Bpel Mapper Palette "Date & Time"/Deadline Literal 6. press ok and join deadline literal with deadline node in the right tree 7. and go to the source, see deadline expression has format as described before By the bpel spec; 8.3.2. Deadline Expressions: These are expressions that conform to the XPath 1.0 Expr production where the evaluation results in values that are of the XML Schema types dateTime or date. Accordingly to the http://www.w3.org/TR/xmlschema-2/#dateTime, and http://www.w3.org/TR/xmlschema-2/#formatdetails the datetime format is: [-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm] more detailed description is here http://www.w3.org/TR/xmlschema-2/#dateTime-lexical-representation i.e. white space before time zone is not allowed. Another issue with date time format is: 'Z' character is not allowed by "Deadline expression" editor but it's valid by the spec and has the same meaning as +00:00; -00:00 But the correct format from spec: Here is white space which should be by the spec:
The last two strings in previous message is missprint. One more usefull link regarding date formats with clear explanation: http://www.w3.org/TR/NOTE-datetime
Nikita, please take a look.
I've found that there isn't a blank space between time and time zone now. But there is another small problem - format of seconds requires 2 digits in integer part. But if you specify 1 seconds, then it will be 1.0 instead of 01. I'm not sure it is a big problem. Regarding Z character support I reckon it has to be supported in the dialog with a check-box with label "UTC". It has to disable time zone selection if it checked. Also Z character has to be taken into consideration while parsing sources. I think the issue isn't so prioritized as P2 so I reduces it to P3. I also reassign it to the code's owner
fixed in gfesbv22: a2cdf88c53a9
Created attachment 103012 [details] Screenshot
Z character support is still not available in the dialog - see the attached screenshot. Reopening this issue.
This issue is about wrong generation of deadline expression. The issue has been fixed, expression is generated correctly now. => FIXED. For additional support of 'Z' in the dialog, please file new enhancement.
The deadline expression is generated correctly now. This is verified in CAPS Milestone 5 build 20101103-1248. This issue can be closed.