abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1372029 [14/17] - in /abdera/java/trunk: ./ parser/src/test/java/org/apache/abdera/test/parser/stax/ parser/src/test/resources/ parser/src/test/resources/feedvalidator.org/ parser/src/test/resources/feedvalidator.org/testcases/ parser/src/...
Date Sat, 11 Aug 2012 21:15:47 GMT
Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_hyphens.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_t.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_t.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_t.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_t.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  invalid modified date (no "T" separator between date and time)
+  Expect:       InvalidRFC3339Date{parent:entry,element:updated}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<updated>2003-07-01 01:55:07-05:00</updated>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_t.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_timezone_colon.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_timezone_colon.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_timezone_colon.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_timezone_colon.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  invalid modified date (missing colon in timezone)
+  Expect:       InvalidRFC3339Date{parent:entry,element:updated}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<updated>2003-07-01T01:55:07-0500</updated>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_timezone_colon.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_year.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_year.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_year.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_year.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  invalid modified date (no year)
+  Expect:       InvalidRFC3339Date{parent:entry,element:updated}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<updated>07-01T01:55:07-05:00</updated>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_no_year.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_seconds.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_seconds.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_seconds.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_seconds.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid modified date (hours, minutes, and seconds)
+  Expect:       ValidW3CDTFDate{parent:entry,element:updated}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<updated>2002-12-31T19:20:30+01:00</updated>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_seconds.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_utc.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_utc.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_utc.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_utc.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid modified date (UTC)
+  Expect:       ValidW3CDTFDate{parent:entry,element:updated}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<updated>2002-12-31T19:20:30Z</updated>
+</entry>
+</feed>
+

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_utc.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_wrong_format.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_wrong_format.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_wrong_format.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_wrong_format.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  modified must be W3CDTF date format
+  Expect:       InvalidRFC3339Date{parent:entry,element:updated}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<updated>Mon, 31 Dec 2002 14:20:20 GMT</updated>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_modified_wrong_format.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid entry summary
+  Expect:       !ContainsUndeclaredHTML{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary>Valid summary</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_cdata.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_cdata.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_cdata.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_cdata.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid entry summary (in CDATA)
+  Expect:       !ContainsUndeclaredHTML{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary><![CDATA[Valid summary]]></summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_cdata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_contains_html.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_contains_html.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_contains_html.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_contains_html.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  entry summary may not include HTML without declaration
+  Expect:       ContainsUndeclaredHTML{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary>&lt;b&gt;Invalid summary&lt;/b&gt;</summary>
+</entry>
+</feed>
+

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_contains_html.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_contains_html_cdata.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_contains_html_cdata.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_contains_html_cdata.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_contains_html_cdata.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  entry summary may not include HTML (even in CDATA) without declaration
+  Expect:       ContainsUndeclaredHTML{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary><![CDATA[<b>;Invalid summary</b>]]></summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_contains_html_cdata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_html.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_html.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_html.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_html.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  entry summary is valid HTML
+  Expect:       ValidHtml{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="text/html" mode="escaped">
+  &lt;b&gt;Bold summary&lt;/b&gt;
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_html.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_inline.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_inline.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_inline.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_inline.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  summary is actually inline code
+  Expect:       !ContainsUndeclaredHTML{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="application/xhtml+xml">
+  <code>&lt;p&gt;foo&lt;/p&gt;</code>
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_inline.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_inline_2.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_inline_2.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_inline_2.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_inline_2.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  summary actually is inline code
+  Expect:       !NotInline{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="text/html" mode="xml">
+  <code>&lt;p&gt;foo&lt;/p&gt;</code>
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_is_inline_2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_missing.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_missing.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_missing.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_missing.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,14 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  entry summary is optional
+  Expect:       !MissingElement{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_missing.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_multiple.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_multiple.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_multiple.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_multiple.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  can only have one entry summary
+  Expect:       DuplicateElement{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary>Validation ain't what it used to be</summary>
+<summary>Validation ain't what it used to be</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_multiple.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_no_html.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_no_html.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_no_html.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_no_html.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid entry summary
+  Expect:       ValidElement{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary>Valid summary</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_no_html.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_escaped.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_escaped.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_escaped.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_escaped.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  summary says it's escaped, but isn't
+  Expect:       NotEscaped{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="text/html" mode="escaped">
+<p>foo</p>
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_escaped.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_html.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_html.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_html.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_html.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  summary says it's html, but isn't
+  Expect:       NotHtml{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="text/html" mode="escaped">
+  &lt;a
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_html.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_html_cdata.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_html_cdata.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_html_cdata.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_html_cdata.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid entry summary (CDATA)
+  Expect:       ValidElement{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary><![CDATA[Valid summary]]></summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_html_cdata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_inline_cdata.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_inline_cdata.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_inline_cdata.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_inline_cdata.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  summary says it's inline, but it's really in a CDATA block
+  Expect:       NotInline{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="xhtml">
+<![CDATA[<p>This does not count as inline content, because it's in a CDATA block</p>]]>
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_inline_cdata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  summary says it's text/plain, but isn't
+  Expect:       ContainsUndeclaredHTML{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="text/plain" mode="escaped">
+  So I was reading &lt;a href="http://example.com/"&gt;example.com&lt;/a&gt; the other day, it's really interesting.
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain2.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain2.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain2.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain2.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  summary says it's text/plain, but isn't
+  Expect:       ContainsUndeclaredHTML{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary>
+  So I was reading &lt;a href="http://example.com/"&gt;example.com&lt;/a&gt; the other day, it's really interesting.
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain3.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain3.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain3.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain3.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  summary says it's text/plain, but isn't
+  Expect:       UndefinedElement{parent:summary,element:a}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary>
+  So I was reading <a href="http://example.com/">example.com</a> the other day, it's really interesting.
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_not_text_plain3.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid summary type
+  Expect:       ValidMIMEAttribute{parent:entry,element:summary,attr:type}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="text/html">
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type2.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type2.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type2.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type2.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid summary type
+  Expect:       ValidMIMEAttribute{parent:entry,element:summary,attr:type}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="application/xhtml+xml">
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type3.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type3.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type3.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type3.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid summary type
+  Expect:       ValidMIMEAttribute{parent:entry,element:summary,attr:type}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="image/jpeg">
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type3.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type4.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type4.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type4.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type4.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid summary type
+  Expect:       ValidMIMEAttribute{parent:entry,element:summary,attr:type}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="text/plain">
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type4.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type_blank.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type_blank.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type_blank.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type_blank.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  summary type must be MIME type
+  Expect:       AttrNotBlank{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="">
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type_blank.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type_not_mime.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type_not_mime.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type_not_mime.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type_not_mime.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  summary type must be MIME type
+  Expect:       InvalidMIMEType{parent:entry,element:summary}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<summary type="invalid">
+</summary>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_summary_type_not_mime.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid entry title
+  Expect:       !ContainsUndeclaredHTML{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title>Valid title</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_cdata.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_cdata.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_cdata.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_cdata.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid entry title (in CDATA)
+  Expect:       !ContainsUndeclaredHTML{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title><![CDATA[Valid title]]></title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_cdata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_contains_html.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_contains_html.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_contains_html.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_contains_html.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  entry title may not include HTML unless declared in @type and @mode
+  Expect:       ContainsUndeclaredHTML{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title>&lt;b&gt;Invalid title&lt;/b&gt;</title>
+</entry>
+</feed>
+

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_contains_html.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_contains_html_cdata.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_contains_html_cdata.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_contains_html_cdata.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_contains_html_cdata.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  entry title may not include HTML (even in CDATA) unless declared in @type and @mode
+  Expect:       ContainsUndeclaredHTML{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title><![CDATA[<b>;Invalid title</b>]]></title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_contains_html_cdata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_html.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_html.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_html.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_html.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  entry title is valid HTML
+  Expect:       ValidHtml{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title type="text/html" mode="escaped">
+  &lt;b&gt;Bold title&lt;/b&gt;
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_html.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_inline.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_inline.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_inline.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_inline.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  title is actually inline code
+  Expect:       !ContainsUndeclaredHTML{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title type="application/xhtml+xml">
+  <code>&lt;p&gt;foo&lt;/p&gt;</code>
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_inline.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_inline_2.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_inline_2.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_inline_2.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_inline_2.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  title actually is inline code
+  Expect:       !NotInline{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title type="text/html" mode="xml">
+  <code>&lt;p&gt;foo&lt;/p&gt;</code>
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_is_inline_2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_missing.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_missing.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_missing.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_missing.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,14 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  entry title is required
+  Expect:       MissingElement{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_missing.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_multiple.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_multiple.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_multiple.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_multiple.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  can only have one entry title
+  Expect:       DuplicateElement{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title>Validation ain't what it used to be</title>
+<title>Validation ain't what it used to be</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_multiple.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_no_html.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_no_html.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_no_html.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_no_html.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid entry title
+  Expect:       ValidElement{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title>Valid title</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_no_html.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_escaped.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_escaped.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_escaped.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_escaped.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  title says it's escaped, but isn't
+  Expect:       NotEscaped{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title type="text/html" mode="escaped">
+<p>foo</p>
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_escaped.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_html.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_html.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_html.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_html.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  title says it's html, but isn't
+  Expect:       NotHtml{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title type="text/html" mode="escaped">
+  &lt;a
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_html.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_html_cdata.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_html_cdata.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_html_cdata.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_html_cdata.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid entry title (CDATA)
+  Expect:       ValidElement{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title><![CDATA[Valid title]]></title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_html_cdata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_inline_cdata.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_inline_cdata.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_inline_cdata.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_inline_cdata.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  title says it's inline, but it's really in a CDATA block
+  Expect:       NotInline{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title type="xhtml">
+<![CDATA[<p>This does not count as inline content, because it's in a CDATA block</p>]]>
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_inline_cdata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_text_plain.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_text_plain.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_text_plain.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_text_plain.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  title says it's text/plain, but isn't
+  Expect:       ContainsUndeclaredHTML{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title type="text" mode="escaped">
+  So I was reading &lt;a href="http://example.com/"&gt;example.com&lt;/a&gt; the other day, it's really interesting.
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_text_plain.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_text_plain2.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_text_plain2.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_text_plain2.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_text_plain2.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,17 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  title says it's text/plain, but isn't
+  Expect:       ContainsUndeclaredHTML{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title>
+  So I was reading &lt;a href="http://example.com/"&gt;example.com&lt;/a&gt; the other day, it's really interesting.
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_not_text_plain2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid title type
+  Expect:       ValidMIMEAttribute{parent:entry,element:title,attr:type}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title type="text/html">
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type2.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type2.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type2.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type2.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid title type
+  Expect:       ValidMIMEAttribute{parent:entry,element:title,attr:type}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title type="application/xhtml+xml">
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type3.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type3.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type3.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type3.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid title type
+  Expect:       ValidMIMEAttribute{parent:entry,element:title,attr:type}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title type="image/jpeg">
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type3.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type_blank.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type_blank.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type_blank.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type_blank.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  title type must be MIME type
+  Expect:       AttrNotBlank{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title type="">
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type_blank.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type_not_mime.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type_not_mime.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type_not_mime.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type_not_mime.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  title type must be MIME type
+  Expect:       InvalidMIMEType{parent:entry,element:title}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<title type="invalid">
+</title>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_title_type_not_mime.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_unknown_element.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_unknown_element.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_unknown_element.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_unknown_element.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  undefined entry element in core namespace
+  Expect:       UndefinedElement{parent:entry,element:foo}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<entry>
+<foo>bar</foo>
+</entry>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/entry_unknown_element.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid feed author email
+  Expect:       ValidContact{parent:author,element:email}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<name>Valid name</name>
+<email>valid@example.com</email>
+</author>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_contains_plus.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_contains_plus.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_contains_plus.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_contains_plus.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid feed author email (email name contains +)
+  Expect:       ValidContact{parent:author,element:email}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<name>Valid name</name>
+<email>valid+folder@example.com</email>
+</author>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_contains_plus.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_invalid.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_invalid.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_invalid.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_invalid.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  invalid feed author email (not email address)
+  Expect:       InvalidContact{parent:author,element:email}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<name>Valid name</name>
+<email>invalid at example.com</email>
+</author>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_invalid.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_overloaded.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_overloaded.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_overloaded.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_overloaded.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  invalid feed author email (contains more than email)
+  Expect:       InvalidContact{parent:author,element:email}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<name>Valid name</name>
+<email>invalid@example.com (Bob), extra</email>
+</author>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_email_overloaded.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  feed author name must not include HTML
+  Expect:       !ContainsHTML{parent:author,element:name}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<name>Valid name</name>
+</author>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_cdata.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_cdata.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_cdata.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_cdata.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid feed author name (in CDATA)
+  Expect:       !ContainsHTML{element:name}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<name><![CDATA[Valid name]]></name>
+</author>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_cdata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_contains_html.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_contains_html.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_contains_html.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_contains_html.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  feed author name must not include HTML
+  Expect:       ContainsHTML{element:name}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<name>&lt;b&gt;Invalid name&lt;/b&gt;</name>
+</author>
+</feed>
+

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_contains_html.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_contains_html_cdata.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_contains_html_cdata.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_contains_html_cdata.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_contains_html_cdata.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  feed author name must not include HTML (even in CDATA)
+  Expect:       ContainsHTML{element:name}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<name><![CDATA[<b>Invalid name</b>]]></name>
+</author>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_contains_html_cdata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_multiple.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_multiple.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_multiple.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_multiple.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,16 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  can only have one feed author name
+  Expect:       DuplicateElement{parent:author,element:name}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<name>Validation ain't what it used to be</name>
+<name>Validation ain't what it used to be</name>
+</author>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_name_multiple.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_unknown_element.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_unknown_element.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_unknown_element.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_unknown_element.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  undefined entry element in feed author
+  Expect:       UndefinedElement{element:foo}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<foo>bar</foo>
+</author>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_unknown_element.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_contains_comma.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_contains_comma.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_contains_comma.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_contains_comma.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid feed author url (even with comma)
+  Expect:       ValidURI{element:uri}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<uri>http://www.wired.com/news/school/0,1383,54916,00.html</uri>
+</author>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_contains_comma.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_ftp.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_ftp.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_ftp.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_ftp.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid feed author url (ftp)
+  Expect:       ValidURI{parent:author,element:uri}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<uri>ftp://example.com/</uri>
+</author>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_ftp.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_http.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_http.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_http.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_http.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,15 @@
+<!--
+  Author:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid feed author url (http)
+  Expect:       ValidURI{parent:author,element:uri}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<author>
+<uri>http://example.com/</uri>
+</author>
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_author_url_http.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,18 @@
+<!--
+  Contributor:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid contributor email
+  Expect:       ValidContact{parent:contributor,element:email}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+<contributor>
+<name>Valid name</name>
+<email>valid@example.com</email>
+</contributor>
+
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_contains_plus.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_contains_plus.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_contains_plus.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_contains_plus.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,18 @@
+<!--
+  Contributor:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  valid contributor email (email name contains +)
+  Expect:       ValidContact{parent:contributor,element:email}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+<contributor>
+<name>Valid name</name>
+<email>valid+folder@example.com</email>
+</contributor>
+
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_contains_plus.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_invalid.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_invalid.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_invalid.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_invalid.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,18 @@
+<!--
+  Contributor:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  invalid contributor email (not email address)
+  Expect:       InvalidContact{parent:contributor,element:email}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+<contributor>
+<name>Valid name</name>
+<email>invalid at example.com</email>
+</contributor>
+
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_invalid.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_overloaded.xml
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_overloaded.xml?rev=1372029&view=auto
==============================================================================
--- abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_overloaded.xml (added)
+++ abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_overloaded.xml Sat Aug 11 21:15:23 2012
@@ -0,0 +1,18 @@
+<!--
+  Contributor:       Sam Ruby (http://intertwingly.net/) and Mark Pilgrim (http://diveintomark.org/)
+  Copyright:    Copyright (c) 2003 Sam Ruby and Mark Pilgrim
+-->
+
+<!--
+  Description:  invalid contributor email (contains more than email)
+  Expect:       InvalidContact{parent:contributor,element:email}
+-->
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+<contributor>
+<name>Valid name</name>
+<email>invalid@example.com (Bob), foo</email>
+</contributor>
+
+</feed>

Propchange: abdera/java/trunk/parser/src/test/resources/feedvalidator.org/testcases/atom/must/feed_contributor_email_overloaded.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message