Skip to content

Commit

Permalink
applied patch from Daan de Wit to properly add text content (in opens…
Browse files Browse the repository at this point in the history
…earch)
  • Loading branch information
bricas committed Jun 19, 2008
1 parent a493a8f commit cd4493f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/net/lucenews/opensearch/OpenSearchText.java
Expand Up @@ -181,6 +181,8 @@ public Element asElement (Document document, OpenSearch.Format format, OpenSearc
catch (TransformerException te) { catch (TransformerException te) {
throw new OpenSearchException(te.getMessage()); throw new OpenSearchException(te.getMessage());
} }
} else if (getType().equals("text")) {
element.appendChild(document.createTextNode(content_string));
} }




Expand Down

0 comments on commit cd4493f

Please sign in to comment.