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

Transform issues #90

Open
jacimize opened this issue Jan 8, 2015 · 3 comments
Open

Transform issues #90

jacimize opened this issue Jan 8, 2015 · 3 comments

Comments

@jacimize
Copy link

jacimize commented Jan 8, 2015

I received an email with someone asking about the transform issues and an error that they were getting. (I am the original author of the transform and worked with Doug, Anna, and Ted on subsequent versions.) Here is an excerpt from the email about the error:
Error:
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 value in 'cast as' expression
Transformation to ISO failed

Kishore has informed me that this error relates specifically to repeated occurrences of within a single section. He says that the ISO Transform rule allows only a single occurrence within a section in order for a CSDGM record to successfully transform to ISO.

There seems to be issues with the data.gov transform when it comes to multiple links and multiple originator tags. I have narrowed down the issues to commented out sections and new ones rewritten.

Look at lines 2498-2534 and lines 921-3928. These edits seem to be the issues. I am wondering if there were some issues that caused these edits to the functioning transforms.

I'd be happy to work with someone on fixing transform issues as time allows.

Thanks!

@kvuppala
Copy link
Contributor

@jacimize
Thank you for bringing this to our attention, the above mentioned edits were made to support this feature request #86 , which seem to have impacted other FGDC datasets harvesting.

CC
@hyoon @philipashlock @FuhuXia

@kvuppala
Copy link
Contributor

similar to #91

@kvuppala
Copy link
Contributor

More documentation and proposed solution (option 2) is available @ https://docs.google.com/document/d/1wOHSA2RNwjsgDuqDzFTKifQceTBxxvMBmDssnRLivLA/edit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants