Skip to content

Commit

Permalink
Make sure that json parsing support does not break xml export
Browse files Browse the repository at this point in the history
Addressing:
[error]xml//ansible-tower-fedramp-Low.xml:15: element PlainText: Schemas validity error : Element '{http://csrc.nist.gov/ns/oscal/1.0}PlainText': This element is not expected.
  • Loading branch information
isimluk committed Sep 23, 2020
1 parent 3dfd554 commit e962fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/oscal/validation_root/markup.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
// Markup ...
type Markup struct {
Raw string `xml:",innerxml" yaml:"raw,omitempty"`
PlainText string
PlainText string `xml:"-"`
}

func MarkupFromPlain(plain string) *Markup {
Expand Down

0 comments on commit e962fc3

Please sign in to comment.