You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.warn("URI "+uri+" does not match any model object or enumeration");
is always triggered when reading in an externalRef.
I can't seem to find a value valid of external ref that wouldn't present this error (which is fairly harmless for our usecase, but it's a bit jarring to see all the warnings).
URI http://spdx.org/rdf/references/purl does not match any model object or enumeration
Thanks @loosebazooka for reporting this - we were missing a check which caused the warning. Turns out the only symptom of the missing check (fortunately) was the warning being generated.
It looks like
Spdx-Java-Library/src/main/java/org/spdx/library/model/SimpleUriValue.java
Line 110 in f2086d2
is always triggered when reading in an externalRef.
I can't seem to find a value valid of external ref that wouldn't present this error (which is fairly harmless for our usecase, but it's a bit jarring to see all the warnings).
Am I using this incorrectly? Is the parser just warning out of abundance of caution?
The text was updated successfully, but these errors were encountered: