-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Fix issue #4470: import.xsd doesn't allow numbers in vendor name and class name #5420
Conversation
It was possible to have model definitions that were not parsable in the xml because it validated the xsd specificatons. There was no Problem in adding those Models and use them but not with that .xsd file.
I do not know if those make sense now, but at least the look like it could be ok.
Probably needs some fixing in test files aswell..? |
will do that asap. They did not pop up for me because of beeing from 5.6 tests it looks like. |
I suggest to do the fix similarly to ced639a We have digits in the vendor name |
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
@nhp thank you for your contribution. Could you please resolve the conflicts so that I can proceed with PR acceptance if this PR is still relevant. |
Closing this PR due to inactivity |
It was possible to have model definitions that were not parsable
in the xml because it validated the xsd specificatons.
There was no Problem in adding those Models and use them but
not with that .xsd file.