You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2011/02/14 13:40:22 UTC

svn commit: r1070472 - /incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/impl/AuthorEntity.java

Author: scottbw
Date: Mon Feb 14 12:40:22 2011
New Revision: 1070472

URL: http://svn.apache.org/viewvc?rev=1070472&view=rev
Log:
Fixed silly mistake with element names (should be <author> not <name>)

Modified:
    incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/impl/AuthorEntity.java

Modified: incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/impl/AuthorEntity.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/impl/AuthorEntity.java?rev=1070472&r1=1070471&r2=1070472&view=diff
==============================================================================
--- incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/impl/AuthorEntity.java (original)
+++ incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/impl/AuthorEntity.java Mon Feb 14 12:40:22 2011
@@ -77,7 +77,7 @@ public class AuthorEntity extends Abstra
 	}
 
 	public Element toXml() {
-		Element element = new Element(IW3CXMLConfiguration.NAME_ELEMENT, IW3CXMLConfiguration.MANIFEST_NAMESPACE);
+		Element element = new Element(IW3CXMLConfiguration.AUTHOR_ELEMENT, IW3CXMLConfiguration.MANIFEST_NAMESPACE);
 		element.setText(getAuthorName());
 		if (getHref()!=null && getHref().length()>0) element.setAttribute(IW3CXMLConfiguration.HREF_ATTRIBUTE, getHref());
 		if (getEmail()!=null && getEmail().length()>0) element.setAttribute(IW3CXMLConfiguration.EMAIL_ATTRIBUTE, getEmail());