-
Notifications
You must be signed in to change notification settings - Fork 51
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
paraStyle and blockTableStyle names are not handled separately #108
Labels
Comments
joeUser555
changed the title
paraStyle and blockTableStyle names are not handled separate
paraStyle and blockTableStyle names are not handled separately
Feb 21, 2023
Yes, this is correct, and as far as I can tell reportlab behaves the same. |
If paraStyle names and blockTableStyle names share the same namespace the parser should yield a warning or better an error if the style name is use in both categories in one document. |
Warning if you redefine a style does make sense. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BUG/PROBLEM REPORT / FEATURE REQUEST
What I did:
I defined a paraStyle and a blockTableStyle with an identical name.
What I expect to happen:
In a para element the paraStyle name referenced should give the paraStyle with this name.
What actually happened:
The blockTableStyle with the identical name got returned and caused an exception:
style-name-conflict.rml.txt
What version of Python and Zope/Addons I am using:
Ubuntu 22.04, Python 3.10, zope-event-4.6
The text was updated successfully, but these errors were encountered: