<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/htmlcleaner/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/htmlcleaner/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/htmlcleaner/feature-requests/</id><updated>2021-05-03T09:41:30.990000Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>#12 Add some basic functions to xpath</title><link href="https://sourceforge.net/p/htmlcleaner/feature-requests/12/?limit=25#35b9" rel="alternate"/><published>2021-05-03T09:41:30.990000Z</published><updated>2021-05-03T09:41:30.990000Z</updated><author><name>Londie Lexingtuon PadillaPerez</name><uri>https://sourceforge.net/u/lexingtuon/</uri></author><id>https://sourceforge.net3dcf7aa607866fca2fad7cf845b3b973d8600cee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;partners are not released to a spouse or functioning framework. There in a cluster of diff. not compatible to manage.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#12 Add some basic functions to xpath</title><link href="https://sourceforge.net/p/htmlcleaner/feature-requests/12/?limit=25#6b3b" rel="alternate"/><published>2021-05-03T09:37:20.549000Z</published><updated>2021-05-03T09:37:20.549000Z</updated><author><name>Londie Lexingtuon PadillaPerez</name><uri>https://sourceforge.net/u/lexingtuon/</uri></author><id>https://sourceforge.net07c971604057d6c11eb2618ab5bfe2b2a039b2e8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;CLAIM is in leadership attachments in take take or geometric is not a test binary&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#21 Support serializing escaped content directly to a Writer/Appendable</title><link href="https://sourceforge.net/p/htmlcleaner/feature-requests/21/?limit=25#80bc" rel="alternate"/><published>2018-07-26T08:47:48.304000Z</published><updated>2018-07-26T08:47:48.304000Z</updated><author><name>Scott Wilson</name><uri>https://sourceforge.net/u/scottwilson/</uri></author><id>https://sourceforge.net399a37babd75e1cbae5633656fbc9441d68fa2ef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;I'm always &lt;strong&gt;very&lt;/strong&gt; interested in any help offered!&lt;/p&gt;
&lt;p&gt;For this refactoring, the best approach is to create a single patch that I can apply to the trunk; I'll then run the unit tests, and if they're OK, I'll commit the patch and it'll be in the next release.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#21 Support serializing escaped content directly to a Writer/Appendable</title><link href="https://sourceforge.net/p/htmlcleaner/feature-requests/21/?limit=50#d02a" rel="alternate"/><published>2018-07-25T21:02:04.541000Z</published><updated>2018-07-25T21:02:04.541000Z</updated><author><name>Dave</name><uri>https://sourceforge.net/u/shepq/</uri></author><id>https://sourceforge.netfd3e94ca5483cba6ec337afc19aab57eb14af1c9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Let me know if you're interested in my help implementing such a change; and if so, if there are any details you would like to specify about how I do so.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Support serializing escaped content directly to a Writer/Appendable</title><link href="https://sourceforge.net/p/htmlcleaner/feature-requests/21/" rel="alternate"/><published>2018-07-25T20:55:21.449000Z</published><updated>2018-07-25T20:55:21.449000Z</updated><author><name>Dave</name><uri>https://sourceforge.net/u/shepq/</uri></author><id>https://sourceforge.netd5ca286e5dd5d65cbc369097b1d5549dd3b2952d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm sure that in some cases, there is no way around creating a StringBuilder, adding each character or escaped version of a character, and then using the resulting String. But since the methods of interest for serialization all involve a Writer, it is almost certainly more efficient for larger content strings (and probably most other cases) to have the escaped characters be written directly to a Writer or Appendable.&lt;/p&gt;
&lt;p&gt;I suggest the following refactoring to support this:&lt;br/&gt;
1. add an overloaded Utils.escapeXml declared as void but accepting an Appendable;&lt;br/&gt;
2. move the body of the existing method, with references to the StringBuilder becoming references to the Appendable (just make the parameter name "result" to match the name of the StringBuilder, and remove the StringBuilder declaration/assignment); and finally&lt;br/&gt;
3. have the existing method create a StringBuilder to delegate to the new version, and then return its toString() method.&lt;/p&gt;
&lt;p&gt;It would also then be useful to add to HtmlSerializer a version of escapeText that accepts the Writer being used for serialization, which could delegate to a new version of Utils.escapeHtml, and so forth.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#10 Make JAR file OSGi compatible</title><link href="https://sourceforge.net/p/htmlcleaner/feature-requests/10/?limit=25#ef76" rel="alternate"/><published>2015-12-17T11:19:52.707000Z</published><updated>2015-12-17T11:19:52.707000Z</updated><author><name>Vadim</name><uri>https://sourceforge.net/u/vkhusainov/</uri></author><id>https://sourceforge.net915393f12775dd481152b32c21e932531a6c3a45</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Great, thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#10 Make JAR file OSGi compatible</title><link href="https://sourceforge.net/p/htmlcleaner/feature-requests/10/?limit=25#10a2" rel="alternate"/><published>2015-12-17T11:13:33.220000Z</published><updated>2015-12-17T11:13:33.220000Z</updated><author><name>Scott Wilson</name><uri>https://sourceforge.net/u/scottwilson/</uri></author><id>https://sourceforge.netaef95c3a31dab56cc9cdcac21820ebac1c264c25</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for the patch Vadim - I've reviewed it and committed to Trunk&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#10 Make JAR file OSGi compatible</title><link href="https://sourceforge.net/p/htmlcleaner/feature-requests/10/?limit=25#712c" rel="alternate"/><published>2015-12-17T10:57:58.101000Z</published><updated>2015-12-17T10:57:58.101000Z</updated><author><name>Vadim</name><uri>https://sourceforge.net/u/vkhusainov/</uri></author><id>https://sourceforge.net53250b45e21dff4f5450f1b500f59641e060e413</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, please apply new patch to make all osgi headers correct and to make them refresh after source/version update. maven-bundle-plugin handles all changes automatically and writes them to manifest.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#20 Configure list of tags that allows CDATA content</title><link href="https://sourceforge.net/p/htmlcleaner/feature-requests/20/?limit=25#e3bb" rel="alternate"/><published>2015-10-01T09:32:36.879000Z</published><updated>2015-10-01T09:32:36.879000Z</updated><author><name>Scott Wilson</name><uri>https://sourceforge.net/u/scottwilson/</uri></author><id>https://sourceforge.net04ee882a35b13c15501ce6d46d368e2d8f39c03d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: accepted --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#20 Configure list of tags that allows CDATA content</title><link href="https://sourceforge.net/p/htmlcleaner/feature-requests/20/?limit=25#cfac" rel="alternate"/><published>2015-09-18T15:04:25.063000Z</published><updated>2015-09-18T15:04:25.063000Z</updated><author><name>Scott Wilson</name><uri>https://sourceforge.net/u/scottwilson/</uri></author><id>https://sourceforge.net176e3b414040aee539c204c4829c46ad0934068f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;: 2.12 --&amp;gt; 2.15&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry></feed>