-
Notifications
You must be signed in to change notification settings - Fork 39
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
transformation error causing USGS records to not get harvested #91
Comments
@amilan17 <digform>
<digtinfo>
<formname>Arc/Info export</formname>
<formvern>7.x</formvern>
<formcont> Gridded files for the Alaska composite (akc*) and merged (akm*) aeromagnetic data. New versions of the grids were added to the web site in February 1999. These grids are akc_msat* and akm_msat*. The new grids contain a regional surface correction based on a satellite magnetic model of the long wavelengths of the Earth's magnetic field (see March 1999 issue of GSA Today for more information). The original grids contained a questionable long-wavelength trend which caused the NW portion of the grids to be tipped downward (there was also a spurious trend with a different slope in SE Alaska). </formcont>
<filedec>gzip -d</filedec>
<transize>8.7</transize>
</digtinfo>
<digtopt>
<onlinopt>
<computer>
<networka>
<networkr>http://pubs.usgs.gov/of/1997/ofr-97-0520/data/akc_e00.gz</networkr>
<networkr>http://pubs.usgs.gov/of/1997/ofr-97-0520/data/akc_msat_e00.gz</networkr>
<networkr>http://pubs.usgs.gov/of/1997/ofr-97-0520/data/akm_e00.gz</networkr>
<networkr>http://pubs.usgs.gov/of/1997/ofr-97-0520/data/akm_msat_e00.gz</networkr>
</networka>
</computer>
</onlinopt>
</digtopt>
</digform>
|
@kvuppala |
issue is similar to #90 |
More documentation and proposed solution (option 2) is available @ https://docs.google.com/document/d/1wOHSA2RNwjsgDuqDzFTKifQceTBxxvMBmDssnRLivLA/edit |
Many records from USGS are resulting in a transformation error due to an error in the fgdc to iso XSL.
This is one of the CSDGM records causing this error:
http://data.usgs.gov/metadata/Mineral_Resources_On-Line_Spatial_Data/535e99ace4b08e65d60f8e2b.xml
This is the error message:
Transformation to ISO failed
The transformation service returned an error for object {0}: [409] net.sf.saxon.trans.XPathException: A sequence of more than one item is not allowed as the first argument of normalize-space() ("http://pubs.usgs.gov/of/1997/o...", "http://pubs.usgs.gov/of/1997/o...", ...)
This is where the transform is taking all URLs from all elements into ONE CI_OnlineResource/linkage/URL element:
https://github.com/GSA/ckanext-geodatagov/blob/master/conversiontool/fgdc2iso/fgdcrse2iso19115-2.xslt#L4308
Thanks in advance for looking into this. I'm available for question or further testing if needed.
The text was updated successfully, but these errors were encountered: