The regular expression verifies that your timestamp has no timezone offset at the end (Z) while your timestamp has a timezone offset.
I don't know if timezone offsets are allowed in the xs:dateTime type, but it seems to me that the XSD you have disallows them, or XML::Compile disallows them.
In reply to Re: xml dateTime format pattern violation when using DateTime::Format::XSD
by Corion
in thread xml dateTime format pattern violation when using DateTime::Format::XSD
by dlinetsk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |