-
Notifications
You must be signed in to change notification settings - Fork 141
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
attribute-name
in XSD may contain integers, which is wrong
#3569
Comments
attribute-name
in XSD may contain integers, which is wrong
@maxonfjvipon need your help here |
@yegor256 I believe @volodya-lombrozo won't like it since he uses numbers in attributes in jeo a lot |
@maxonfjvipon we'll ask JEO to use something else, maybe same numbers but with a letter as a prefix |
@yegor256 one of the problem here is that
I tried to solve the problem by introducing new type
In phi-calculus, formation may contain attributes which name starts from |
@maxonfjvipon maybe let's allow |
@yegor256 then we should catch it when we print XMIR to EO and remove |
@yegor256 but how to deal with this: |
@maxonfjvipon indeed, this
Can't be converted to XMIR/EO anyhow. We must throw an exception in this case, since it's not a valid phi-expression either. All |
@yegor256 so the result |
@maxonfjvipon correct |
…thub.com/maxonfjvipon/eo into fix/objectionary#3569/xsd-attribute-name
fix(#3569): prohibit numbers in attribute-name in XSD
In
XMIR.xsd
, if I change theattribute-name
type by removing the[0-9]+
from its regular expression,UnphiMojoTest
fails. Looks like we use this attribute (o/@name
) incorrectly, holding their numbers when necessary. Let's get rid of this hack.The text was updated successfully, but these errors were encountered: