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

Remove superfluous character in class #9044

Merged

Conversation

tkn98
Copy link
Contributor

@tkn98 tkn98 commented Mar 29, 2017

The backslash character ("\") was put more than once in the same
regex character class across some XSD files. Per each character class
there is no need to specify it twice.

I ran over this while looking into an issue with class-name validation
which do not allow digits within class names.

Refs:

@tkn98 tkn98 force-pushed the patch-xsd-superfluous-pattern-chars branch from 879eed4 to 8a78c86 Compare March 29, 2017 07:30
The solidusbackslash character ("\")  was put more than once in the same
regex character class across some XSD files. Per each character class
there is no need to specify it twice.

I ran over this while looking into an issue with class-name validation
which do not allow digits within class names.

Refs:

- https://www.w3.org/TR/xmlschema11-2/#cces

- magento#4470

- magento#5420

- magento#8307
@vrann
Copy link
Contributor

vrann commented Mar 30, 2017

Is this PR relies on the #5420? As far as I see ImportExport is not fixed here.

@tkn98
Copy link
Contributor Author

tkn98 commented Mar 31, 2017

@vrann No it's not fixed here, I didn't want to hijack it and appreciate some feedback first. My idea is to collect places (removing superfluous the characters in the pattern can help with finding these) where this is in place in one issue and make the pattern the same for the different places so it is more maintainable in the future. Please let me know what you think.

@okorshenko
Copy link
Contributor

@tkn98 thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants