Skip to content
Snippets Groups Projects
Commit 31fb8ae3 authored by Gareth Reakes's avatar Gareth Reakes
Browse files

We did not allow dateTimes with a timezone due to the last seconds fix.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174978 13f79535-47bb-0310-9956-ffa450edef68
parent e3c6c96d
No related branches found
No related tags found
No related merge requests found
......@@ -57,6 +57,9 @@
/*
* $Id$
* $Log$
* Revision 1.9 2003/05/15 16:32:19 gareth
* We did not allow dateTimes with a timezone due to the last seconds fix.
*
* Revision 1.8 2003/03/23 22:54:49 peiyongz
* invalid second values
*
......@@ -1047,7 +1050,7 @@ void XMLDateTime::getTime()
fValue[MiliSecond] = parseInt(fStart, sign); //get ms between UTC sign and fEnd
}
}
else
else if(sign == 0 || sign != fStart)
{
// seconds has more than 2 digits
ThrowXML1(SchemaDateTimeException
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment