Skip to content

Transform issues #90

@jacimize

Description

@jacimize

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions