-
Notifications
You must be signed in to change notification settings - Fork 17
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
UnidataDD2MI.xsl is not a valid version 1.0 stylesheet #19
Comments
@rsignell-usgs ring a bell? |
I think @amilan17 made this change on April 22, 2015?
|
@rsignell-usgs: Actually, no. On April 22, 2015, the change you refer to was only to document that the stylesheet version was changed from 1.1 to 1.0. The change to the stylesheet version from 1.1 to 1.0 was made by you on April 18, 2015. Prior to April 18, 2015, the stylesheet was version 1.1. Cordially, |
@aaron-sweeney, okay you caught me. ;-). But although I submitted that change, I was only the messenger. I went back and checked, and the change on April 18 was just me contributing a file called UnidataDD2MI-MOD-amEdits.xsl that I received as an e-mail attachment from @amilan17 on April 16. I don't know anything about XSL. So we still need @amilan17 input here. |
I will look at this today. Anna On Fri, Feb 5, 2016 at 8:50 AM, Rich Signell [email protected]
|
@aaron-sweeney @rsignell-usgs In summary, So, at that time we changed the XSLT version to 1.0 and I started to upgrade the entire XSLT to be compliant to XSLT 2.0, but never committed that version to gitHub. Currently, I believe that validation of the XSL varies depending on the combination of xslt version and transform engine. This is what I'm able to confirm in Oxygen XML Editor using the most recent gitHub XSLT. |
@aaron-sweeney , where do you see us standing here? |
@rsignell-usgs I agree that validation depends on the choice of transform engine. The reasons for the switch from XSL version 1.1 to 1.0 went undocumented. Is it best practice to put these in the comments at the top of the relevant file, or will the existence of this issue suffice? |
Hi,
See src/main/resources/xsl/nciso/UnidataDD2MI.xsl.
From the history of this file, it appears a change was made by Rich Signell from XSL version 1.1 to 1.0 on April 18, 2015. This causes the XSL to be invalid. Switching back to version 1.1 seems to fix the problem.
What was the reason to revert from XSL version 1.1 to 1.0? Can this be switched back to version 1.1?
Cordially,
Aaron
The text was updated successfully, but these errors were encountered: