abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r429805 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/Constants.java
Date Tue, 08 Aug 2006 20:36:16 GMT
Author: jmsnell
Date: Tue Aug  8 13:36:16 2006
New Revision: 429805

URL: http://svn.apache.org/viewvc?rev=429805&view=rev
Log:
Use the default namespace for Atom, XHTML, APP and Pub control namespaces 
(e.g. instead of <atom:feed xmlns:atom="..."/> it's <feed xmlns="..."/>

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/Constants.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/Constants.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/Constants.java?rev=429805&r1=429804&r2=429805&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/Constants.java (original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/Constants.java Tue
Aug  8 13:36:16 2006
@@ -27,9 +27,9 @@
   public static final String DEFAULT_PARSER       = "org.apache.abdera.parser.stax.FOMParser";
   public static final String DEFAULT_FACTORY      = "org.apache.abdera.parser.stax.FOMFactory";
   public static final String DEFAULT_XPATH        = "org.apache.abdera.parser.stax.FOMXPath";
-  public static final String PREFIX               = "a";
-  public static final String APP_PREFIX           = "app";
-  public static final String CONTROL_PREFIX       = "pub";
+  public static final String PREFIX               = "";
+  public static final String APP_PREFIX           = "";
+  public static final String CONTROL_PREFIX       = "";
   
   public static final String ATOM_MEDIA_TYPE      = "application/atom+xml";
   public static final String MULTIPART_MEDIA_TYPE = "multipart/related";
@@ -83,7 +83,7 @@
   public static final String LN_CONTROL           = "control";
   public static final String LN_DRAFT             = "draft";
   
-  public static final QName DIV                   = new QName(XHTML_NS, LN_DIV, "xhtml");
+  public static final QName DIV                   = new QName(XHTML_NS, LN_DIV, "");
   public static final QName CONTROL               = new QName(CONTROL_NS, LN_CONTROL, CONTROL_PREFIX);
   public static final QName DRAFT                 = new QName(CONTROL_NS, LN_DRAFT, CONTROL_PREFIX);
   public static final QName FEED                  = new QName(ATOM_NS, LN_FEED, PREFIX);



Mime
View raw message