mirror of https://github.com/readrops/Readrops.git
OPML head tag isn't required
This commit is contained in:
parent
ea9739a19a
commit
f6cfa52bc0
|
@ -8,7 +8,7 @@ import org.simpleframework.xml.Root
|
|||
@Order(elements = ["head", "body"])
|
||||
@Root(name = "opml", strict = false)
|
||||
data class OPML(@field:Attribute(required = true) var version: String?,
|
||||
@field:Element(required = true) var head: Head?,
|
||||
@field:Element(required = false) var head: Head?,
|
||||
@field:Element(required = true) var body: Body?) {
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue