-
Notifications
You must be signed in to change notification settings - Fork 11
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
Check that the LID for a collection product has the LID of its parent bundle as its base #10
Comments
@richardchenca Richard, can you point me to the data set you tested for this issue? |
@hhlee445 @richardchenca I tracked this back to JIRA and attached the example. Also per JIRA, this appears to be a bug fix associated with https://osr.jpl.nasa.gov/jira/browse/PDS-605, which was committed per https://github.jpl.nasa.gov/PDSEN/pds4-java/pull/55/ . it appears to fail in the bundle.xml, but the collection.xml passes (which it shouldn't):
|
@jordanpadams The collection.xml passes because the member status of the collection is set to 'S' (secondary). Current validate tool only verify LID Prefix while the member status of the bundle is set to 'Primary'. Should we verify LID Prefix for both 'Primary' (P) and 'Secondary' (S)? What is the difference of 'Primary' and 'Secondary'? |
Hmm, I can't vpn in now.
If primary, column 2 must be a LIDVID
If secondary, it can be a LID or a LIDVID. I think, with maybe 70% confidence, that the file need not be there.
On 3/23/20, 18:28, "Hyun Lee" <notifications@github.com> wrote:
@jordanpadams <https://github.com/jordanpadams> The collection.xml
passes because the member status of the collection is set to 'S' (secondary). Current validate tool only verify LID Prefix while the member status of the bundle is set to 'Primary'. Should we verify LID Prefix for both 'Primary' (P) and 'Secondary' (S)? What
is the difference of 'Primary' and 'Secondary'?
—
You are receiving this because you were mentioned.
Reply to this email directly,
view it on GitHub <#10 (comment)>, or
unsubscribe <https://github.com/notifications/unsubscribe-auth/AMK4NJMODD5MVFH3O5DINIDRJAEEJANCNFSM4H3BQ7SQ>.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "#10 (comment)",
"url": "#10 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
@hhlee445 does the software first go find the collection and then check for the LID prefix? Or does it do it when it is checking the bundle.xml? If it is the latter, let's check it. If it doesn't check until it opens up the collection.xml, then let's just ignore that since that product would have never passed validation in the first place to become a primary object. |
@hhlee445 any status on completing testing for this? |
Closed as wontfix per #10 (comment) |
L5.PRP.VA.30 - Check that the LID for a collection product has the LID of its parent bundle as its base. Only applies to primary objects.
Per Richard Chen:
bundleLID.zip
The text was updated successfully, but these errors were encountered: