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

classRef when @expand not specified is inconsistently translated to RNG #221

Open
lb42 opened this issue Jan 7, 2017 · 1 comment
Open
Labels
conversion: odd conversion: relax resp: StylesheetsGroup Issue is suitable for the group-learning approach taken in the Stylesheets Coop Working Group. status: needsDiscussion Council has not yet been able to agree on how to proceed. type: bug A bug report.

Comments

@lb42
Copy link
Member

lb42 commented Jan 7, 2017

A classRef with no value for its @expand attribute appears to generate different results depending on what other attributes are present. If no other attributes are present, the classRef generates a pattern matching the alternation of its members. If @include or @except is present, a pattern matching the sequence of its members (after applying inclusion or excepting as expected) is generated. For evidence see the testClass odd supplied on issue 220.

@lb42 lb42 added the type: bug A bug report. label Jan 16, 2017
@martindholmes martindholmes added conversion: odd resp: StylesheetsGroup Issue is suitable for the group-learning approach taken in the Stylesheets Coop Working Group. status: needsDiscussion Council has not yet been able to agree on how to proceed. labels Jun 11, 2020
@hcayless
Copy link
Member

hcayless commented Aug 4, 2020

See #220 for test ODD.

@except also does not work the way I would expect unless the excluded element is a direct member of the referenced class. If the element is a member of a sub-class of the referenced class, weird (invalid) things happen instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conversion: odd conversion: relax resp: StylesheetsGroup Issue is suitable for the group-learning approach taken in the Stylesheets Coop Working Group. status: needsDiscussion Council has not yet been able to agree on how to proceed. type: bug A bug report.
Projects
None yet
Development

No branches or pull requests

4 participants