Skip to content

Commit

Permalink
Add Value External Reference
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Alzate <aalzate@sonatype.com>
  • Loading branch information
mr-zepol committed Apr 7, 2024
1 parent bcf7e77 commit b7a9fc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 97 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ private void serializeXml(final ToXmlGenerator toXmlGenerator, final ExternalRef
toXmlGenerator.writeFieldName("alg");
toXmlGenerator.writeString(hash.getAlgorithm());
toXmlGenerator.setNextIsAttribute(false);
//toXmlGenerator.writeString(hash.getValue());

toXmlGenerator.setNextIsUnwrapped(true);
toXmlGenerator.writeStringField("", hash.getValue());

toXmlGenerator.writeEndObject();
}
toXmlGenerator.writeEndObject();
Expand Down

0 comments on commit b7a9fc2

Please sign in to comment.