-
Notifications
You must be signed in to change notification settings - Fork 31
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
It would be nice if XSpec noticed circular imports #987
Comments
|
Seems like the problem does not happen on Saxon 9.8 (.0.12, 14, 15) on my end. |
Saxon conforms to the standard, per https://sourceforge.net/p/saxon/mailman/message/37030023/ .
This issue is still opened. The specification of |
A warning is fine as far as I'm concerned. If you think there are legitimate use cases, then something should be done to eliminate the duplicate |
Reopening for the warning/error part. |
I have a directory of xspec files. I wanted to wrap them all up in a single file with imports. In the course of doing so, I managed to create a circular reference. (wrapper.xspec imported wrapper.xspec).
Curiously, this didn't cause any immediate problems. But days later when I added a top-level
x:param
declaration, that caused the compiled stylesheet to crash ("duplicate global variable").That took way too long to figure out! It would be nice if the import process detected circularity and through an error.
The text was updated successfully, but these errors were encountered: