Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect RegEx for XsdTimezoneComponent #35

Open
C-Bookie opened this issue Nov 13, 2020 · 0 comments
Open

Incorrect RegEx for XsdTimezoneComponent #35

C-Bookie opened this issue Nov 13, 2020 · 0 comments

Comments

@C-Bookie
Copy link

Reading section 3.2.7.3 of XMLSCHEMA-2, I belive that XsdTimezoneComponent should match '+00:00' & '-00:00', Reading as
((\+|-)(0[0-9]|1[0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z)?
instead of
((\+|-)(0[1-9]|1[0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z)?

@C-Bookie C-Bookie changed the title incorrect RegEx for XsdTimezoneComponent Incorrect RegEx for XsdTimezoneComponent Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants