J. King
5 years ago
10 changed files with 40 additions and 3 deletions
@ -1 +1,2 @@ |
|||
<html/> |
|||
<!-- Not an OPML document --> |
|||
|
@ -1 +1,2 @@ |
|||
<opml/> |
|||
<!-- Not body element --> |
|||
|
@ -0,0 +1,5 @@ |
|||
<opml> |
|||
<body/> |
|||
<body/> |
|||
</opml> |
|||
<!-- Only one body is allowed --> |
@ -1 +1,2 @@ |
|||
<opml> |
|||
<!-- Not well-formed XML --> |
|||
|
@ -0,0 +1,4 @@ |
|||
<opml> |
|||
<body/> |
|||
</opml> |
|||
<!-- Empty body is not an error --> |
@ -0,0 +1,9 @@ |
|||
<opml> |
|||
<head> |
|||
<body> |
|||
<outline text="I should be ignored!"/> |
|||
</body> |
|||
</head> |
|||
<body/> |
|||
</opml> |
|||
<!-- Only body in root counts --> |
@ -0,0 +1,11 @@ |
|||
<opml> |
|||
<body> |
|||
<someOtherElement> |
|||
<outline text="I should be skipped over!"/> |
|||
</someOtherElement> |
|||
<body> |
|||
<outline text="I should be skipped over, too!"/> |
|||
</body> |
|||
</body> |
|||
</opml> |
|||
<!-- The descendents of elements other than <outline> are ignored --> |
Loading…
Reference in new issue