wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r819210 - in /incubator/wink/trunk: wink-client/src/test/java/org/apache/wink/client/ wink-common/src/main/java/org/apache/wink/common/internal/providers/entity/xml/ wink-common/src/main/resources/META-INF/core/ wink-examples/ext/History/sr...
Date Sat, 26 Sep 2009 20:48:23 GMT
Author: bluk
Date: Sat Sep 26 20:48:19 2009
New Revision: 819210

URL: http://svn.apache.org/viewvc?rev=819210&view=rev
Log:
Remove default XmlFormattingOptions

This will give (by default) no indention
which will give faster performance on
Atom documents without the indenting.

It also will help during the lookup
of ContextResolvers which is not
a cheap operation.

Thanks Doug for taking a profile.

See [WINK-202]

Removed:
    incubator/wink/trunk/wink-common/src/main/java/org/apache/wink/common/internal/providers/entity/xml/XMLFormattingOptionsProvider.java
Modified:
    incubator/wink/trunk/wink-client/src/test/java/org/apache/wink/client/ProvidersTest.java
    incubator/wink/trunk/wink-common/src/main/resources/META-INF/core/wink-providers
    incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_1_afterdelete_atom.xml
    incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_1_atom.xml
    incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_4_atom.xml
    incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_5_atom.xml
    incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_history_final_atom.xml
    incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/initial_defect1_atom.xml
    incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/AtomEntryProviderTest.java
    incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/AtomFeedProviderTest.java
    incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/EntityLocatorProviderTest.java
    incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/SyndEntryLocatorProviderTest.java
    incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/SyndFeedLocatorProviderTest.java

Modified: incubator/wink/trunk/wink-client/src/test/java/org/apache/wink/client/ProvidersTest.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-client/src/test/java/org/apache/wink/client/ProvidersTest.java?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-client/src/test/java/org/apache/wink/client/ProvidersTest.java (original)
+++ incubator/wink/trunk/wink-client/src/test/java/org/apache/wink/client/ProvidersTest.java Sat Sep 26 20:48:19 2009
@@ -52,45 +52,45 @@
     private static String       SERVICE_URL = "http://localhost:{0}/some/service";
     private static final String FEED        =
 
-                                                "<feed xmlns:opensearch=\"http://a9.com/-/spec/opensearch/1.1/\" xmlns=\"http://www.w3.org/2005/Atom\">\n" + "    <id>urn:feed:1</id>\n"
-                                                    + "    <updated>1970-01-02T11:20:00+02:00</updated>\n"
-                                                    + "    <title type=\"text\" xml:lang=\"en\">Title</title>\n"
-                                                    + "    <subtitle type=\"text\" xml:lang=\"en\">Subtitle</subtitle>\n"
-                                                    + "    <opensearch:itemsPerPage>10</opensearch:itemsPerPage>\n"
-                                                    + "    <opensearch:startIndex>0</opensearch:startIndex>\n"
-                                                    + "    <opensearch:totalResults>100</opensearch:totalResults>\n"
-                                                    + "    <link href=\"http://localhost:8080/rest/service/feed\" rel=\"self\"/>\n"
-                                                    + "    <author>\n"
-                                                    + "        <name>John Smith</name>\n"
-                                                    + "    </author>\n"
-                                                    + "    <category label=\"lable\" scheme=\"urn:entity:priority\" term=\"1\"/>\n"
-                                                    + "    <entry>\n"
-                                                    + "        <id>urn:entry2</id>\n"
-                                                    + "        <updated>1970-01-02T11:20:00+02:00</updated>\n"
-                                                    + "        <title type=\"text\" xml:lang=\"en\">Title</title>\n"
-                                                    + "        <summary type=\"text\" xml:lang=\"en\">Title</summary>\n"
-                                                    + "        <published>1970-01-02T11:20:00+02:00</published>\n"
-                                                    + "        <link href=\"http://localhost:8080/rest/service/entry/2\" type=\"application/xml\" rel=\"self\"/>\n"
-                                                    + "        <author>\n"
-                                                    + "            <name>John Smith</name>\n"
-                                                    + "        </author>\n"
-                                                    + "        <category label=\"lable\" scheme=\"urn:entity:priority\" term=\"1\"/>\n"
-                                                    + "        <content type=\"text\">This is entity created by John Smith</content>\n"
-                                                    + "    </entry>\n"
-                                                    + "    <entry>\n"
-                                                    + "        <id>urn:entry3</id>\n"
-                                                    + "        <updated>1970-01-02T11:20:00+02:00</updated>\n"
-                                                    + "        <title type=\"text\" xml:lang=\"en\">Title</title>\n"
-                                                    + "        <summary type=\"text\" xml:lang=\"en\">Title</summary>\n"
-                                                    + "        <published>1970-01-02T11:20:00+02:00</published>\n"
-                                                    + "        <link href=\"http://localhost:8080/rest/service/entry/3\" type=\"application/xml\" rel=\"self\"/>\n"
-                                                    + "        <author>\n"
-                                                    + "            <name>John Smith</name>\n"
-                                                    + "        </author>\n"
-                                                    + "        <category label=\"lable\" scheme=\"urn:entity:priority\" term=\"1\"/>\n"
-                                                    + "        <content type=\"text\">This is entity created by John Smith</content>\n"
-                                                    + "    </entry>\n"
-                                                    + "</feed>\n";
+                                                "<feed xmlns:opensearch=\"http://a9.com/-/spec/opensearch/1.1/\" xmlns=\"http://www.w3.org/2005/Atom\">" + "<id>urn:feed:1</id>"
+                                                    + "<updated>1970-01-02T11:20:00+02:00</updated>"
+                                                    + "<title type=\"text\" xml:lang=\"en\">Title</title>"
+                                                    + "<subtitle type=\"text\" xml:lang=\"en\">Subtitle</subtitle>"
+                                                    + "<opensearch:itemsPerPage>10</opensearch:itemsPerPage>"
+                                                    + "<opensearch:startIndex>0</opensearch:startIndex>"
+                                                    + "<opensearch:totalResults>100</opensearch:totalResults>"
+                                                    + "<link href=\"http://localhost:8080/rest/service/feed\" rel=\"self\"/>"
+                                                    + "<author>"
+                                                    + "<name>John Smith</name>"
+                                                    + "</author>"
+                                                    + "<category label=\"lable\" scheme=\"urn:entity:priority\" term=\"1\"/>"
+                                                    + "<entry>"
+                                                    + "<id>urn:entry2</id>"
+                                                    + "<updated>1970-01-02T11:20:00+02:00</updated>"
+                                                    + "<title type=\"text\" xml:lang=\"en\">Title</title>"
+                                                    + "<summary type=\"text\" xml:lang=\"en\">Title</summary>"
+                                                    + "<published>1970-01-02T11:20:00+02:00</published>"
+                                                    + "<link href=\"http://localhost:8080/rest/service/entry/2\" type=\"application/xml\" rel=\"self\"/>"
+                                                    + "<author>"
+                                                    + "<name>John Smith</name>"
+                                                    + "</author>"
+                                                    + "<category label=\"lable\" scheme=\"urn:entity:priority\" term=\"1\"/>"
+                                                    + "<content type=\"text\">This is entity created by John Smith</content>"
+                                                    + "</entry>"
+                                                    + "<entry>"
+                                                    + "<id>urn:entry3</id>"
+                                                    + "<updated>1970-01-02T11:20:00+02:00</updated>"
+                                                    + "<title type=\"text\" xml:lang=\"en\">Title</title>"
+                                                    + "<summary type=\"text\" xml:lang=\"en\">Title</summary>"
+                                                    + "<published>1970-01-02T11:20:00+02:00</published>"
+                                                    + "<link href=\"http://localhost:8080/rest/service/entry/3\" type=\"application/xml\" rel=\"self\"/>"
+                                                    + "<author>"
+                                                    + "<name>John Smith</name>"
+                                                    + "</author>"
+                                                    + "<category label=\"lable\" scheme=\"urn:entity:priority\" term=\"1\"/>"
+                                                    + "<content type=\"text\">This is entity created by John Smith</content>"
+                                                    + "</entry>"
+                                                    + "</feed>";
 
     @Override
     protected void setUp() throws Exception {

Modified: incubator/wink/trunk/wink-common/src/main/resources/META-INF/core/wink-providers
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-common/src/main/resources/META-INF/core/wink-providers?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-common/src/main/resources/META-INF/core/wink-providers (original)
+++ incubator/wink/trunk/wink-common/src/main/resources/META-INF/core/wink-providers Sat Sep 26 20:48:19 2009
@@ -42,7 +42,6 @@
 # JAXB Providers
 org.apache.wink.common.internal.providers.entity.xml.JAXBElementXmlProvider
 org.apache.wink.common.internal.providers.entity.xml.JAXBXmlProvider
-org.apache.wink.common.internal.providers.entity.xml.XMLFormattingOptionsProvider
 
 # Atom 
 org.apache.wink.common.internal.providers.entity.atom.AtomFeedSyndFeedProvider

Modified: incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_1_afterdelete_atom.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_1_afterdelete_atom.xml?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_1_afterdelete_atom.xml (original)
+++ incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_1_afterdelete_atom.xml Sat Sep 26 20:48:19 2009
@@ -17,34 +17,4 @@
     specific language governing permissions and limitations
     under the License.
 -->
-
-<entry xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml" xml:base="http://localhost:80/defects/1;rev=1">
-    <id>urn:com:hp:qadefects:defect:1</id>
-    <title type="text">Missing asterisk for mandatory fields</title>
-    <summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary>
-    <published>1970-01-01T16:01:45.052+02:00</published>
-    <link href="http://localhost:80/defects/1/history?alt=application%2Fatom%2Bxml" rel="history" type="application/atom+xml"/>
-    <link href="http://localhost:80/defects/1;rev=1?alt=application%2Fatom%2Bxml" rel="alternate" type="application/atom+xml"/>
-    <link href="http://localhost:80/defects/1;rev=1" rel="self"/>
-    <link href="http://localhost:80/defects/1;rev=1?alt=application%2Fxml" rel="alternate" type="application/xml"/>
-    <link href="http://localhost:80/defects/1;rev=1?alt=application%2Fjson" rel="alternate" type="application/json"/>
-    <author>
-        <name>tester2</name>
-    </author>
-    <category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/>
-    <category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/>
-    <content type="application/xml">
-        <defect xmlns="" xmlns:ns4="http://www.w3.org/2005/Atom">
-            <id>1</id>
-            <revision>1</revision>
-            <deleted>false</deleted>
-            <name>Missing asterisk for mandatory fields</name>
-            <description>In Payment Services page, there is no indication for mandatory fields.</description>
-            <created>1970-01-01T16:01:45.052+02:00</created>
-            <author>tester2</author>
-            <status>Assigned</status>
-            <severity>4-minor</severity>
-            <assignedTo>developer3</assignedTo>
-        </defect>
-    </content>
-</entry>
\ No newline at end of file
+<entry xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml" xml:base="http://localhost:80/defects/1;rev=1"><id>urn:com:hp:qadefects:defect:1</id><title type="text">Missing asterisk for mandatory fields</title><summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary><published>1970-01-01T16:01:45.052+02:00</published><link href="http://localhost:80/defects/1/history?alt=application%2Fatom%2Bxml" rel="history" type="application/atom+xml"/><link href="http://localhost:80/defects/1;rev=1?alt=application%2Fatom%2Bxml" rel="alternate" type="application/atom+xml"/><link href="http://localhost:80/defects/1;rev=1" rel="self"/><link href="http://localhost:80/defects/1;rev=1?alt=application%2Fxml" rel="alternate" type="application/xml"/><link href="http://localhost:80/defects/1;rev=1?alt=application%2Fjson" rel="alternate" type="application/json"/><author><name>tester2</
 name></author><category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/><category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/><content type="application/xml"><defect xmlns="" xmlns:ns4="http://www.w3.org/2005/Atom"><id>1</id><revision>1</revision><deleted>false</deleted><name>Missing asterisk for mandatory fields</name><description>In Payment Services page, there is no indication for mandatory fields.</description><created>1970-01-01T16:01:45.052+02:00</created><author>tester2</author><status>Assigned</status><severity>4-minor</severity><assignedTo>developer3</assignedTo></defect></content></entry>
\ No newline at end of file

Modified: incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_1_atom.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_1_atom.xml?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_1_atom.xml (original)
+++ incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_1_atom.xml Sat Sep 26 20:48:19 2009
@@ -17,35 +17,4 @@
     specific language governing permissions and limitations
     under the License.
 -->
-
-<entry xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml" xml:base="http://localhost:80/defects/1;rev=1">
-    <id>urn:com:hp:qadefects:defect:1</id>
-    <title type="text">Missing asterisk for mandatory fields</title>
-    <summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary>
-    <published>1970-01-01T16:01:45.052+02:00</published>
-    <link href="http://localhost:80/defects/1" rel="edit"/>
-    <link href="http://localhost:80/defects/1/history?alt=application%2Fatom%2Bxml" rel="history" type="application/atom+xml"/>
-    <link href="http://localhost:80/defects/1;rev=1?alt=application%2Fatom%2Bxml" rel="alternate" type="application/atom+xml"/>
-    <link href="http://localhost:80/defects/1;rev=1" rel="self"/>
-    <link href="http://localhost:80/defects/1;rev=1?alt=application%2Fxml" rel="alternate" type="application/xml"/>
-    <link href="http://localhost:80/defects/1;rev=1?alt=application%2Fjson" rel="alternate" type="application/json"/>
-    <author>
-        <name>tester2</name>
-    </author>
-    <category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/>
-    <category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/>
-    <content type="application/xml">
-        <defect xmlns="" xmlns:ns4="http://www.w3.org/2005/Atom">
-            <id>1</id>
-            <revision>1</revision>
-            <deleted>false</deleted>
-            <name>Missing asterisk for mandatory fields</name>
-            <description>In Payment Services page, there is no indication for mandatory fields.</description>
-            <created>1970-01-01T16:01:45.052+02:00</created>
-            <author>tester2</author>
-            <status>Assigned</status>
-            <severity>4-minor</severity>
-            <assignedTo>developer3</assignedTo>
-        </defect>
-    </content>
-</entry>
\ No newline at end of file
+<entry xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml" xml:base="http://localhost:80/defects/1;rev=1"><id>urn:com:hp:qadefects:defect:1</id><title type="text">Missing asterisk for mandatory fields</title><summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary><published>1970-01-01T16:01:45.052+02:00</published><link href="http://localhost:80/defects/1" rel="edit"/><link href="http://localhost:80/defects/1/history?alt=application%2Fatom%2Bxml" rel="history" type="application/atom+xml"/><link href="http://localhost:80/defects/1;rev=1?alt=application%2Fatom%2Bxml" rel="alternate" type="application/atom+xml"/><link href="http://localhost:80/defects/1;rev=1" rel="self"/><link href="http://localhost:80/defects/1;rev=1?alt=application%2Fxml" rel="alternate" type="application/xml"/><link href="http://localhost:80/defects/1;rev=1?alt=application%2Fjson" rel="alte
 rnate" type="application/json"/><author><name>tester2</name></author><category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/><category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/><content type="application/xml"><defect xmlns="" xmlns:ns4="http://www.w3.org/2005/Atom"><id>1</id><revision>1</revision><deleted>false</deleted><name>Missing asterisk for mandatory fields</name><description>In Payment Services page, there is no indication for mandatory fields.</description><created>1970-01-01T16:01:45.052+02:00</created><author>tester2</author><status>Assigned</status><severity>4-minor</severity><assignedTo>developer3</assignedTo></defect></content></entry>
\ No newline at end of file

Modified: incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_4_atom.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_4_atom.xml?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_4_atom.xml (original)
+++ incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_4_atom.xml Sat Sep 26 20:48:19 2009
@@ -17,35 +17,4 @@
     specific language governing permissions and limitations
     under the License.
 -->
-
-<entry xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml" xml:base="http://localhost:80/defects">
-    <id>urn:com:hp:qadefects:defect:1</id>
-    <title type="text">Missing asterisk for mandatory fields</title>
-    <summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary>
-    <published>1970-01-01T16:01:45.052+02:00</published>
-    <link href="http://localhost:80/defects/1" rel="edit"/>
-    <link href="http://localhost:80/defects/1/history?alt=application%2Fatom%2Bxml" rel="history" type="application/atom+xml"/>
-    <link href="http://localhost:80/defects/1;rev=4?alt=application%2Fatom%2Bxml" rel="alternate" type="application/atom+xml"/>
-    <link href="http://localhost:80/defects/1;rev=4?alt=application%2Fxml" rel="alternate" type="application/xml"/>
-    <link href="http://localhost:80/defects/1;rev=4?alt=application%2Fjson" rel="alternate" type="application/json"/>
-    <link href="http://localhost:80/defects/1;rev=4" rel="self"/>
-    <author>
-        <name>tester2</name>
-    </author>
-    <category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/>
-    <category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/>
-    <content type="application/xml">
-        <defect xmlns="" xmlns:ns4="http://www.w3.org/2005/Atom">
-            <id>1</id>
-            <revision>4</revision>
-            <deleted>false</deleted>
-            <name>Missing asterisk for mandatory fields</name>
-            <description>In Payment Services page, there is no indication for mandatory fields.</description>
-            <created>1970-01-01T16:01:45.052+02:00</created>
-            <author>tester2</author>
-            <status>Assigned</status>
-            <severity>4-minor</severity>
-            <assignedTo>developer3</assignedTo>
-        </defect>
-    </content>
-</entry>
\ No newline at end of file
+<entry xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml" xml:base="http://localhost:80/defects"><id>urn:com:hp:qadefects:defect:1</id><title type="text">Missing asterisk for mandatory fields</title><summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary><published>1970-01-01T16:01:45.052+02:00</published><link href="http://localhost:80/defects/1" rel="edit"/><link href="http://localhost:80/defects/1/history?alt=application%2Fatom%2Bxml" rel="history" type="application/atom+xml"/><link href="http://localhost:80/defects/1;rev=4?alt=application%2Fatom%2Bxml" rel="alternate" type="application/atom+xml"/><link href="http://localhost:80/defects/1;rev=4?alt=application%2Fxml" rel="alternate" type="application/xml"/><link href="http://localhost:80/defects/1;rev=4?alt=application%2Fjson" rel="alternate" type="application/json"/><link href="http://localhost:80/defec
 ts/1;rev=4" rel="self"/><author><name>tester2</name></author><category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/><category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/><content type="application/xml"><defect xmlns="" xmlns:ns4="http://www.w3.org/2005/Atom"><id>1</id><revision>4</revision><deleted>false</deleted><name>Missing asterisk for mandatory fields</name><description>In Payment Services page, there is no indication for mandatory fields.</description><created>1970-01-01T16:01:45.052+02:00</created><author>tester2</author><status>Assigned</status><severity>4-minor</severity><assignedTo>developer3</assignedTo></defect></content></entry>

Modified: incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_5_atom.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_5_atom.xml?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_5_atom.xml (original)
+++ incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_5_atom.xml Sat Sep 26 20:48:19 2009
@@ -17,35 +17,4 @@
     specific language governing permissions and limitations
     under the License.
 -->
-
-<entry xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml" xml:base="http://localhost:80/defects/1">
-    <id>urn:com:hp:qadefects:defect:1</id>
-    <title type="text">Missing asterisk for mandatory fields</title>
-    <summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary>
-    <published>1970-01-01T16:01:45.052+02:00</published>
-    <link href="http://localhost:80/defects/1" rel="edit"/>
-    <link href="http://localhost:80/defects/1/history?alt=application%2Fatom%2Bxml" rel="history" type="application/atom+xml"/>
-    <link href="http://localhost:80/defects/1;rev=5?alt=application%2Fjson" rel="alternate" type="application/json"/>
-    <link href="http://localhost:80/defects/1;rev=5?alt=application%2Fatom%2Bxml" rel="alternate" type="application/atom+xml"/>
-    <link href="http://localhost:80/defects/1;rev=5?alt=application%2Fxml" rel="alternate" type="application/xml"/>
-    <link href="http://localhost:80/defects/1;rev=5" rel="self"/>
-    <author>
-        <name>tester2</name>
-    </author>
-    <category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/>
-    <category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/>
-    <content type="application/xml">
-        <defect xmlns="" xmlns:ns4="http://www.w3.org/2005/Atom">
-            <id>1</id>
-            <revision>5</revision>
-            <deleted>false</deleted>
-            <name>Missing asterisk for mandatory fields</name>
-            <description>In Payment Services page, there is no indication for mandatory fields.</description>
-            <created>1970-01-01T16:01:45.052+02:00</created>
-            <author>tester2</author>
-            <status>Assigned</status>
-            <severity>4-minor</severity>
-            <assignedTo>developer3</assignedTo>
-        </defect>
-    </content>
-</entry>
\ No newline at end of file
+<entry xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml" xml:base="http://localhost:80/defects/1"><id>urn:com:hp:qadefects:defect:1</id><title type="text">Missing asterisk for mandatory fields</title><summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary><published>1970-01-01T16:01:45.052+02:00</published><link href="http://localhost:80/defects/1" rel="edit"/><link href="http://localhost:80/defects/1/history?alt=application%2Fatom%2Bxml" rel="history" type="application/atom+xml"/><link href="http://localhost:80/defects/1;rev=5?alt=application%2Fjson" rel="alternate" type="application/json"/><link href="http://localhost:80/defects/1;rev=5?alt=application%2Fatom%2Bxml" rel="alternate" type="application/atom+xml"/><link href="http://localhost:80/defects/1;rev=5?alt=application%2Fxml" rel="alternate" type="application/xml"/><link href="http://localhost:80/def
 ects/1;rev=5" rel="self"/><author><name>tester2</name></author><category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/><category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/><content type="application/xml"><defect xmlns="" xmlns:ns4="http://www.w3.org/2005/Atom"><id>1</id><revision>5</revision><deleted>false</deleted><name>Missing asterisk for mandatory fields</name><description>In Payment Services page, there is no indication for mandatory fields.</description><created>1970-01-01T16:01:45.052+02:00</created><author>tester2</author><status>Assigned</status><severity>4-minor</severity><assignedTo>developer3</assignedTo></defect></content></entry>

Modified: incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_history_final_atom.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_history_final_atom.xml?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_history_final_atom.xml (original)
+++ incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/defect1_history_final_atom.xml Sat Sep 26 20:48:19 2009
@@ -17,111 +17,4 @@
     specific language governing permissions and limitations
     under the License.
 -->
-
-<feed xml:base="http://localhost:80/defects/1/history" xmlns="http://www.w3.org/2005/Atom">
-    <id>urn:com:hp:qadefects:defects</id>
-    <updated>2008-08-14T15:46:02.019+03:00</updated>
-    <title type="text">Defects</title>
-    <link href="http://localhost:80/defects/1/history" rel="self"/>
-    <link href="http://localhost:80/defects/1/history?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/>
-    <link href="http://localhost:80/defects/1/history?alt=application%2Fjson" type="application/json" rel="alternate"/>
-    <author>
-        <name>admin</name>
-    </author>
-    <entry>
-        <id>urn:com:hp:qadefects:defect:1</id>
-        <title type="text">Cannot perform payment</title>
-        <link href="http://localhost:80/defects/1" rel="edit"/>
-        <link href="http://localhost:80/defects/1;rev=0" rel="self"/>
-        <link href="http://localhost:80/defects/1;rev=0?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/>
-        <link href="http://localhost:80/defects/1;rev=0?alt=application%2Fjson" type="application/json" rel="alternate"/>
-        <link href="http://localhost:80/defects/1;rev=0?alt=application%2Fxml" type="application/xml" rel="alternate"/>
-        <category scheme="urn:com:hp:qadefects:categories:severity" term="1-critical"/>
-        <category scheme="urn:com:hp:qadefects:categories:status" term="New"/>
-        <author>
-            <name>tester1</name>
-        </author>
-        <published>1970-01-01T16:01:45.050+02:00</published>
-        <summary type="text">In Payment Services page, error message appears when trying to perform payment with valid credit card.</summary>
-    </entry>
-    <entry>
-        <id>urn:com:hp:qadefects:defect:1</id>
-        <title type="text">Missing asterisk for mandatory fields</title>
-        <link href="http://localhost:80/defects/1" rel="edit"/>
-        <link href="http://localhost:80/defects/1;rev=1" rel="self"/>
-        <link href="http://localhost:80/defects/1;rev=1?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/>
-        <link href="http://localhost:80/defects/1;rev=1?alt=application%2Fjson" type="application/json" rel="alternate"/>
-        <link href="http://localhost:80/defects/1;rev=1?alt=application%2Fxml" type="application/xml" rel="alternate"/>
-        <category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/>
-        <category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/>
-        <author>
-            <name>tester2</name>
-        </author>
-        <published>1970-01-01T16:01:45.052+02:00</published>
-        <summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary>
-    </entry>
-    <entry>
-        <id>urn:com:hp:qadefects:defect:1</id>
-        <title type="text">Id field is disabled in Edit Profile page</title>
-        <link href="http://localhost:80/defects/1" rel="edit"/>
-        <link href="http://localhost:80/defects/1;rev=2" rel="self"/>
-        <link href="http://localhost:80/defects/1;rev=2?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/>
-        <link href="http://localhost:80/defects/1;rev=2?alt=application%2Fjson" type="application/json" rel="alternate"/>
-        <link href="http://localhost:80/defects/1;rev=2?alt=application%2Fxml" type="application/xml" rel="alternate"/>
-        <category scheme="urn:com:hp:qadefects:categories:severity" term="2-high"/>
-        <category scheme="urn:com:hp:qadefects:categories:status" term="New"/>
-        <author>
-            <name>tester1</name>
-        </author>
-        <published>1970-01-01T16:01:45.052+02:00</published>
-        <summary type="text">Cannot change the Id in Edit Profile page, it is disabled.</summary>
-    </entry>
-    <entry>
-        <id>urn:com:hp:qadefects:defect:1</id>
-        <title type="text">Id field is disabled in Edit Profile page</title>
-        <link href="http://localhost:80/defects/1" rel="edit"/>
-        <link href="http://localhost:80/defects/1;rev=3" rel="self"/>
-        <link href="http://localhost:80/defects/1;rev=3?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/>
-        <link href="http://localhost:80/defects/1;rev=3?alt=application%2Fjson" type="application/json" rel="alternate"/>
-        <link href="http://localhost:80/defects/1;rev=3?alt=application%2Fxml" type="application/xml" rel="alternate"/>
-        <category scheme="urn:com:hp:qadefects:categories:severity" term="2-high"/>
-        <category scheme="urn:com:hp:qadefects:categories:status" term="New"/>
-        <author>
-            <name>tester1</name>
-        </author>
-        <published>1970-01-01T16:01:45.052+02:00</published>
-        <summary type="text">Cannot change the Id in Edit Profile page, it is disabled.</summary>
-    </entry>
-    <entry>
-        <id>urn:com:hp:qadefects:defect:1</id>
-        <title type="text">Missing asterisk for mandatory fields</title>
-        <link href="http://localhost:80/defects/1" rel="edit"/>
-        <link href="http://localhost:80/defects/1;rev=4" rel="self"/>
-        <link href="http://localhost:80/defects/1;rev=4?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/>
-        <link href="http://localhost:80/defects/1;rev=4?alt=application%2Fjson" type="application/json" rel="alternate"/>
-        <link href="http://localhost:80/defects/1;rev=4?alt=application%2Fxml" type="application/xml" rel="alternate"/>
-        <category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/>
-        <category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/>
-        <author>
-            <name>tester2</name>
-        </author>
-        <published>1970-01-01T16:01:45.052+02:00</published>
-        <summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary>
-    </entry>
-    <entry>
-        <id>urn:com:hp:qadefects:defect:1</id>
-        <title type="text">Missing asterisk for mandatory fields</title>
-        <link href="http://localhost:80/defects/1" rel="edit"/>
-        <link href="http://localhost:80/defects/1;rev=5" rel="self"/>
-        <link href="http://localhost:80/defects/1;rev=5?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/>
-        <link href="http://localhost:80/defects/1;rev=5?alt=application%2Fjson" type="application/json" rel="alternate"/>
-        <link href="http://localhost:80/defects/1;rev=5?alt=application%2Fxml" type="application/xml" rel="alternate"/>
-        <category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/>
-        <category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/>
-        <author>
-            <name>tester2</name>
-        </author>
-        <published>1970-01-01T16:01:45.052+02:00</published>
-        <summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary>
-    </entry>
-</feed>
\ No newline at end of file
+<feed xml:base="http://localhost:80/defects/1/history" xmlns="http://www.w3.org/2005/Atom"><id>urn:com:hp:qadefects:defects</id><updated>2008-08-14T15:46:02.019+03:00</updated><title type="text">Defects</title><link href="http://localhost:80/defects/1/history" rel="self"/><link href="http://localhost:80/defects/1/history?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/><link href="http://localhost:80/defects/1/history?alt=application%2Fjson" type="application/json" rel="alternate"/><author><name>admin</name></author><entry><id>urn:com:hp:qadefects:defect:1</id><title type="text">Cannot perform payment</title><link href="http://localhost:80/defects/1" rel="edit"/><link href="http://localhost:80/defects/1;rev=0" rel="self"/><link href="http://localhost:80/defects/1;rev=0?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/><link href="http://localhost:80/defects/1;rev=0?alt=application%2Fjson" type="application/json" rel="alterna
 te"/><link href="http://localhost:80/defects/1;rev=0?alt=application%2Fxml" type="application/xml" rel="alternate"/><category scheme="urn:com:hp:qadefects:categories:severity" term="1-critical"/><category scheme="urn:com:hp:qadefects:categories:status" term="New"/><author><name>tester1</name></author><published>1970-01-01T16:01:45.050+02:00</published><summary type="text">In Payment Services page, error message appears when trying to perform payment with valid credit card.</summary></entry><entry><id>urn:com:hp:qadefects:defect:1</id><title type="text">Missing asterisk for mandatory fields</title><link href="http://localhost:80/defects/1" rel="edit"/><link href="http://localhost:80/defects/1;rev=1" rel="self"/><link href="http://localhost:80/defects/1;rev=1?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/><link href="http://localhost:80/defects/1;rev=1?alt=application%2Fjson" type="application/json" rel="alternate"/><link href="http://localhost:80/d
 efects/1;rev=1?alt=application%2Fxml" type="application/xml" rel="alternate"/><category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/><category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/><author><name>tester2</name></author><published>1970-01-01T16:01:45.052+02:00</published><summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary></entry><entry><id>urn:com:hp:qadefects:defect:1</id><title type="text">Id field is disabled in Edit Profile page</title><link href="http://localhost:80/defects/1" rel="edit"/><link href="http://localhost:80/defects/1;rev=2" rel="self"/><link href="http://localhost:80/defects/1;rev=2?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/><link href="http://localhost:80/defects/1;rev=2?alt=application%2Fjson" type="application/json" rel="alternate"/><link href="http://localhost:80/defects/1;rev=2?alt=application%2Fxml" type="application/xml" rel
 ="alternate"/><category scheme="urn:com:hp:qadefects:categories:severity" term="2-high"/><category scheme="urn:com:hp:qadefects:categories:status" term="New"/><author><name>tester1</name></author><published>1970-01-01T16:01:45.052+02:00</published><summary type="text">Cannot change the Id in Edit Profile page, it is disabled.</summary></entry><entry><id>urn:com:hp:qadefects:defect:1</id><title type="text">Id field is disabled in Edit Profile page</title><link href="http://localhost:80/defects/1" rel="edit"/><link href="http://localhost:80/defects/1;rev=3" rel="self"/><link href="http://localhost:80/defects/1;rev=3?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/><link href="http://localhost:80/defects/1;rev=3?alt=application%2Fjson" type="application/json" rel="alternate"/><link href="http://localhost:80/defects/1;rev=3?alt=application%2Fxml" type="application/xml" rel="alternate"/><category scheme="urn:com:hp:qadefects:categories:severity" term="2-
 high"/><category scheme="urn:com:hp:qadefects:categories:status" term="New"/><author><name>tester1</name></author><published>1970-01-01T16:01:45.052+02:00</published><summary type="text">Cannot change the Id in Edit Profile page, it is disabled.</summary></entry><entry><id>urn:com:hp:qadefects:defect:1</id><title type="text">Missing asterisk for mandatory fields</title><link href="http://localhost:80/defects/1" rel="edit"/><link href="http://localhost:80/defects/1;rev=4" rel="self"/><link href="http://localhost:80/defects/1;rev=4?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/><link href="http://localhost:80/defects/1;rev=4?alt=application%2Fjson" type="application/json" rel="alternate"/><link href="http://localhost:80/defects/1;rev=4?alt=application%2Fxml" type="application/xml" rel="alternate"/><category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/><category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/><au
 thor><name>tester2</name></author><published>1970-01-01T16:01:45.052+02:00</published><summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary></entry><entry><id>urn:com:hp:qadefects:defect:1</id><title type="text">Missing asterisk for mandatory fields</title><link href="http://localhost:80/defects/1" rel="edit"/><link href="http://localhost:80/defects/1;rev=5" rel="self"/><link href="http://localhost:80/defects/1;rev=5?alt=application%2Fatom%2Bxml" type="application/atom+xml" rel="alternate"/><link href="http://localhost:80/defects/1;rev=5?alt=application%2Fjson" type="application/json" rel="alternate"/><link href="http://localhost:80/defects/1;rev=5?alt=application%2Fxml" type="application/xml" rel="alternate"/><category scheme="urn:com:hp:qadefects:categories:severity" term="4-minor"/><category scheme="urn:com:hp:qadefects:categories:status" term="Assigned"/><author><name>tester2</name></author><published>1970-01-01T16:01:45.052
 +02:00</published><summary type="text">In Payment Services page, there is no indication for mandatory fields.</summary></entry></feed>

Modified: incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/initial_defect1_atom.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/initial_defect1_atom.xml?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/initial_defect1_atom.xml (original)
+++ incubator/wink/trunk/wink-examples/ext/History/src/test/resources/org/apache/wink/example/history/initial_defect1_atom.xml Sat Sep 26 20:48:19 2009
@@ -17,36 +17,4 @@
     specific language governing permissions and limitations
     under the License.
 -->
-
-<entry xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml" xml:base="http://localhost:80/defects/1">
-    <id>urn:com:hp:qadefects:defect:1</id>
-    <title type="text">Id field is disabled in Edit Profile page</title>
-    <summary type="text">Cannot change the Id in Edit Profile page, it is disabled.</summary>
-    <published>1970-01-01T16:01:45.052+02:00</published>
-    <link href="http://localhost:80/defects/1" rel="edit"/>
-    <link href="http://localhost:80/defects/1/history?alt=application%2Fatom%2Bxml" rel="history" type="application/atom+xml"/>
-    <link href="http://localhost:80/defects/1;rev=2?alt=application%2Fxml" rel="alternate" type="application/xml"/>
-    <link href="http://localhost:80/defects/1;rev=2?alt=application%2Fatom%2Bxml" rel="alternate" type="application/atom+xml"/>
-    <link href="http://localhost:80/defects/1;rev=2?alt=application%2Fjson" rel="alternate" type="application/json"/>
-    <link href="http://localhost:80/defects/1;rev=2" rel="self"/>
-    <author>
-        <name>tester1</name>
-    </author>
-    <category scheme="urn:com:hp:qadefects:categories:severity" term="2-high"/>
-    <category scheme="urn:com:hp:qadefects:categories:status" term="New"/>
-    <content type="application/xml">
-        <defect xmlns="" xmlns:ns4="http://www.w3.org/2005/Atom">
-            <id>1</id>
-            <revision>2</revision>
-            <deleted>false</deleted>
-            <name>Id field is disabled in Edit Profile page</name>
-            <description>Cannot change the Id in Edit Profile page, it is disabled.</description>
-            <created>1970-01-01T16:01:45.052+02:00</created>
-            <author>tester1</author>
-            <status>New</status>
-            <severity>2-high</severity>
-            <assignedTo>developer1</assignedTo>
-        </defect>
-    </content>
-</entry>
-
+<entry xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml" xml:base="http://localhost:80/defects/1"><id>urn:com:hp:qadefects:defect:1</id><title type="text">Id field is disabled in Edit Profile page</title><summary type="text">Cannot change the Id in Edit Profile page, it is disabled.</summary><published>1970-01-01T16:01:45.052+02:00</published><link href="http://localhost:80/defects/1" rel="edit"/><link href="http://localhost:80/defects/1/history?alt=application%2Fatom%2Bxml" rel="history" type="application/atom+xml"/><link href="http://localhost:80/defects/1;rev=2?alt=application%2Fxml" rel="alternate" type="application/xml"/><link href="http://localhost:80/defects/1;rev=2?alt=application%2Fatom%2Bxml" rel="alternate" type="application/atom+xml"/><link href="http://localhost:80/defects/1;rev=2?alt=application%2Fjson" rel="alternate" type="application/json"/><link href="http://localhost:80/defects/1;r
 ev=2" rel="self"/><author><name>tester1</name></author><category scheme="urn:com:hp:qadefects:categories:severity" term="2-high"/><category scheme="urn:com:hp:qadefects:categories:status" term="New"/><content type="application/xml"><defect xmlns="" xmlns:ns4="http://www.w3.org/2005/Atom"><id>1</id><revision>2</revision><deleted>false</deleted><name>Id field is disabled in Edit Profile page</name><description>Cannot change the Id in Edit Profile page, it is disabled.</description><created>1970-01-01T16:01:45.052+02:00</created><author>tester1</author><status>New</status><severity>2-high</severity><assignedTo>developer1</assignedTo></defect></content></entry>

Modified: incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/AtomEntryProviderTest.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/AtomEntryProviderTest.java?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/AtomEntryProviderTest.java (original)
+++ incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/AtomEntryProviderTest.java Sat Sep 26 20:48:19 2009
@@ -184,23 +184,23 @@
     }
 
     private static final String ENTRY_STR =
-                                              "<entry xml:base=\"http://b216:8080/reporting/reports\" xmlns=\"http://www.w3.org/2005/Atom\">\n" + "    <id>toptenvalidators</id>\n"
-                                                  + "    <updated>@TIME@</updated>\n"
-                                                  + "    <title type=\"text\" xml:lang=\"en\">top ten validators</title>\n"
-                                                  + "    <published>@TIME@</published>\n"
-                                                  + "    <link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=application/json\" type=\"application/json\" rel=\"alternate\"/>\n"
-                                                  + "    <link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=text/plain\" type=\"text/plain\" rel=\"alternate\"/>\n"
-                                                  + "    <link href=\"http://b216:8080/reporting/reports/toptenvalidators\" rel=\"self\"/>\n"
-                                                  + "    <link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=text/xml\" type=\"text/xml\" rel=\"alternate\"/>\n"
-                                                  + "    <link href=\"http://b216:8080/reporting/reports/toptenvalidators/documents/\" type=\"application/atom+xml\" rel=\"execute\"/>\n"
-                                                  + "    <link href=\"http://b216:8080/reporting/reports/toptenvalidators\" type=\"application/atom+xml\" rel=\"edit\"/>\n"
-                                                  + "    <link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=application/xml\" type=\"application/xml\" rel=\"alternate\"/>\n"
-                                                  + "    <link href=\"http://b216:8080/reporting/reports/toptenvalidators\" type=\"application/xml\" rel=\"edit-media\"/>\n"
-                                                  + "    <author>\n"
-                                                  + "        <name>admin</name>\n"
-                                                  + "    </author>\n"
-                                                  + "    <category label=\"report definition\" scheme=\"urn:com:systinet:reporting:kind\" term=\"urn:com:systinet:reporting:kind:definition\"/>\n"
-                                                  + "    <category label=\"Policy Manager - Homepage Report\" scheme=\"urn:com:systinet:policymgr:report:type\" term=\"aoi\"/>\n"
+                                              "<entry xml:base=\"http://b216:8080/reporting/reports\" xmlns=\"http://www.w3.org/2005/Atom\">" + "<id>toptenvalidators</id>"
+                                                  + "<updated>@TIME@</updated>"
+                                                  + "<title type=\"text\" xml:lang=\"en\">top ten validators</title>"
+                                                  + "<published>@TIME@</published>"
+                                                  + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=application/json\" type=\"application/json\" rel=\"alternate\"/>"
+                                                  + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=text/plain\" type=\"text/plain\" rel=\"alternate\"/>"
+                                                  + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators\" rel=\"self\"/>"
+                                                  + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=text/xml\" type=\"text/xml\" rel=\"alternate\"/>"
+                                                  + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators/documents/\" type=\"application/atom+xml\" rel=\"execute\"/>"
+                                                  + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators\" type=\"application/atom+xml\" rel=\"edit\"/>"
+                                                  + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=application/xml\" type=\"application/xml\" rel=\"alternate\"/>"
+                                                  + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators\" type=\"application/xml\" rel=\"edit-media\"/>"
+                                                  + "<author>"
+                                                  + "<name>admin</name>"
+                                                  + "</author>"
+                                                  + "<category label=\"report definition\" scheme=\"urn:com:systinet:reporting:kind\" term=\"urn:com:systinet:reporting:kind:definition\"/>"
+                                                  + "<category label=\"Policy Manager - Homepage Report\" scheme=\"urn:com:systinet:policymgr:report:type\" term=\"aoi\"/>"
                                                   + "</entry>\n";
 
     private static final String ENTRY;

Modified: incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/AtomFeedProviderTest.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/AtomFeedProviderTest.java?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/AtomFeedProviderTest.java (original)
+++ incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/AtomFeedProviderTest.java Sat Sep 26 20:48:19 2009
@@ -184,42 +184,42 @@
     }
 
     private static final String FEED_STR =
-                                             "<feed xml:base=\"http://b216:8080/reporting/reports\" xmlns:opensearch=\"http://a9.com/-/spec/opensearch/1.1/\" xmlns=\"http://www.w3.org/2005/Atom\">\n" + "    <id>urn:systinet2:reporting:collection:reportdefinition</id>\n"
-                                                 + "    <updated>@TIME@</updated>\n"
-                                                 + "    <title type=\"text\" xml:lang=\"en\">Report Definitions Collection</title>\n"
-                                                 + "    <subtitle type=\"text\" xml:lang=\"en\">Collection of report definitions. Report definition is a XML document describing how to build the report. It describes data sources, data sets, business logic and rendering and report parameters. Report definitions may also use libraries.</subtitle>\n"
-                                                 + "    <opensearch:itemsPerPage>1</opensearch:itemsPerPage>\n"
-                                                 + "    <opensearch:startIndex>0</opensearch:startIndex>\n"
-                                                 + "    <opensearch:totalResults>32</opensearch:totalResults>\n"
-                                                 + "    <link href=\"http://b216:8080/reporting/reports/?start-index=0&amp;max-results=30&amp;alt=text/plain\" type=\"text/plain\" rel=\"first\"/>\n"
-                                                 + "    <link href=\"http://b216:8080/reporting/reports?alt=application/json\" type=\"application/json\" rel=\"alternate\"/>\n"
-                                                 + "    <link href=\"http://b216:8080/reporting/reports\" rel=\"self\"/>\n"
-                                                 + "    <link href=\"http://b216:8080/reporting/reports?alt=text/xml\" type=\"text/xml\" rel=\"alternate\"/>\n"
-                                                 + "    <link href=\"http://b216:8080/reporting/reports\" type=\"application/atom+xml\" rel=\"edit\"/>\n"
-                                                 + "    <author>\n"
-                                                 + "        <name>admin</name>\n"
-                                                 + "    </author>\n"
-                                                 + "    <category label=\"report definitions\" scheme=\"urn:com:systinet:reporting:kind\" term=\"urn:com:systinet:reporting:kind:definitions:collection\"/>\n"
-                                                 + "    <entry>\n"
-                                                 + "        <id>toptenvalidators</id>\n"
-                                                 + "        <updated>@TIME@</updated>\n"
-                                                 + "        <title type=\"text\" xml:lang=\"en\">top ten validators</title>\n"
-                                                 + "        <published>@TIME@</published>\n"
-                                                 + "        <link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=application/json\" type=\"application/json\" rel=\"alternate\"/>\n"
-                                                 + "        <link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=text/plain\" type=\"text/plain\" rel=\"alternate\"/>\n"
-                                                 + "        <link href=\"http://b216:8080/reporting/reports/toptenvalidators\" rel=\"self\"/>\n"
-                                                 + "        <link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=text/xml\" type=\"text/xml\" rel=\"alternate\"/>\n"
-                                                 + "        <link href=\"http://b216:8080/reporting/reports/toptenvalidators/documents/\" type=\"application/atom+xml\" rel=\"execute\"/>\n"
-                                                 + "        <link href=\"http://b216:8080/reporting/reports/toptenvalidators\" type=\"application/atom+xml\" rel=\"edit\"/>\n"
-                                                 + "        <link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=application/xml\" type=\"application/xml\" rel=\"alternate\"/>\n"
-                                                 + "        <link href=\"http://b216:8080/reporting/reports/toptenvalidators\" type=\"application/xml\" rel=\"edit-media\"/>\n"
-                                                 + "        <author>\n"
-                                                 + "            <name>admin</name>\n"
-                                                 + "        </author>\n"
-                                                 + "        <category label=\"report definition\" scheme=\"urn:com:systinet:reporting:kind\" term=\"urn:com:systinet:reporting:kind:definition\"/>\n"
-                                                 + "        <category label=\"Policy Manager - Homepage Report\" scheme=\"urn:com:systinet:policymgr:report:type\" term=\"aoi\"/>\n"
-                                                 + "    </entry>\n"
-                                                 + "</feed>\n";
+                                             "<feed xml:base=\"http://b216:8080/reporting/reports\" xmlns:opensearch=\"http://a9.com/-/spec/opensearch/1.1/\" xmlns=\"http://www.w3.org/2005/Atom\">" + "<id>urn:systinet2:reporting:collection:reportdefinition</id>"
+                                                 + "<updated>@TIME@</updated>"
+                                                 + "<title type=\"text\" xml:lang=\"en\">Report Definitions Collection</title>"
+                                                 + "<subtitle type=\"text\" xml:lang=\"en\">Collection of report definitions. Report definition is a XML document describing how to build the report. It describes data sources, data sets, business logic and rendering and report parameters. Report definitions may also use libraries.</subtitle>"
+                                                 + "<opensearch:itemsPerPage>1</opensearch:itemsPerPage>"
+                                                 + "<opensearch:startIndex>0</opensearch:startIndex>"
+                                                 + "<opensearch:totalResults>32</opensearch:totalResults>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports/?start-index=0&amp;max-results=30&amp;alt=text/plain\" type=\"text/plain\" rel=\"first\"/>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports?alt=application/json\" type=\"application/json\" rel=\"alternate\"/>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports\" rel=\"self\"/>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports?alt=text/xml\" type=\"text/xml\" rel=\"alternate\"/>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports\" type=\"application/atom+xml\" rel=\"edit\"/>"
+                                                 + "<author>"
+                                                 + "<name>admin</name>"
+                                                 + "</author>"
+                                                 + "<category label=\"report definitions\" scheme=\"urn:com:systinet:reporting:kind\" term=\"urn:com:systinet:reporting:kind:definitions:collection\"/>"
+                                                 + "<entry>"
+                                                 + "<id>toptenvalidators</id>"
+                                                 + "<updated>@TIME@</updated>"
+                                                 + "<title type=\"text\" xml:lang=\"en\">top ten validators</title>"
+                                                 + "<published>@TIME@</published>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=application/json\" type=\"application/json\" rel=\"alternate\"/>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=text/plain\" type=\"text/plain\" rel=\"alternate\"/>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators\" rel=\"self\"/>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=text/xml\" type=\"text/xml\" rel=\"alternate\"/>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators/documents/\" type=\"application/atom+xml\" rel=\"execute\"/>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators\" type=\"application/atom+xml\" rel=\"edit\"/>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators?alt=application/xml\" type=\"application/xml\" rel=\"alternate\"/>"
+                                                 + "<link href=\"http://b216:8080/reporting/reports/toptenvalidators\" type=\"application/xml\" rel=\"edit-media\"/>"
+                                                 + "<author>"
+                                                 + "<name>admin</name>"
+                                                 + "</author>"
+                                                 + "<category label=\"report definition\" scheme=\"urn:com:systinet:reporting:kind\" term=\"urn:com:systinet:reporting:kind:definition\"/>"
+                                                 + "<category label=\"Policy Manager - Homepage Report\" scheme=\"urn:com:systinet:policymgr:report:type\" term=\"aoi\"/>"
+                                                 + "</entry>"
+                                                 + "</feed>";
 
     private static final String FEED;
 

Modified: incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/EntityLocatorProviderTest.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/EntityLocatorProviderTest.java?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/EntityLocatorProviderTest.java (original)
+++ incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/EntityLocatorProviderTest.java Sat Sep 26 20:48:19 2009
@@ -41,9 +41,9 @@
 public class EntityLocatorProviderTest extends MockServletInvocationTest {
 
     private static final String ENTRY =
-                                          "<entry xmlns=\"http://www.w3.org/2005/Atom\">\n" + "    <id>id</id>\n"
-                                              + "    <title type=\"text\">title</title>\n"
-                                              + "</entry>\n";
+                                          "<entry xmlns=\"http://www.w3.org/2005/Atom\">" + "<id>id</id>"
+                                              + "<title type=\"text\">title</title>"
+                                              + "</entry>";
 
     @Override
     protected Class<?>[] getClasses() {

Modified: incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/SyndEntryLocatorProviderTest.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/SyndEntryLocatorProviderTest.java?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/SyndEntryLocatorProviderTest.java (original)
+++ incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/SyndEntryLocatorProviderTest.java Sat Sep 26 20:48:19 2009
@@ -44,9 +44,9 @@
 
     private static final SyndEntry SYND_ENTRY = new SyndEntry(new SyndText("title"), "id");
     private static final String    ENTRY      =
-                                                  "<entry xmlns=\"http://www.w3.org/2005/Atom\">\n" + "    <id>id</id>\n"
-                                                      + "    <title type=\"text\">title</title>\n"
-                                                      + "</entry>\n";
+                                                  "<entry xmlns=\"http://www.w3.org/2005/Atom\">" + "<id>id</id>"
+                                                      + "<title type=\"text\">title</title>"
+                                                      + "</entry>";
 
     @Asset
     public static class TestAsset {

Modified: incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/SyndFeedLocatorProviderTest.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/SyndFeedLocatorProviderTest.java?rev=819210&r1=819209&r2=819210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/SyndFeedLocatorProviderTest.java (original)
+++ incubator/wink/trunk/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/SyndFeedLocatorProviderTest.java Sat Sep 26 20:48:19 2009
@@ -44,9 +44,9 @@
 
     private static final SyndFeed SYND_FEED = new SyndFeed(new SyndText("title"), "id");
     private static final String   FEED      =
-                                                "<feed xmlns=\"http://www.w3.org/2005/Atom\">\n" + "    <id>id</id>\n"
-                                                    + "    <title type=\"text\">title</title>\n"
-                                                    + "</feed>\n";
+                                                "<feed xmlns=\"http://www.w3.org/2005/Atom\">" + "<id>id</id>"
+                                                    + "<title type=\"text\">title</title>"
+                                                    + "</feed>";
 
     @Asset
     public static class TestAsset {



Mime
View raw message