<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://okapiframework.org/wiki/index.php?action=history&amp;feed=atom&amp;title=XML_Characters_Fixing_Step</id>
	<title>XML Characters Fixing Step - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://okapiframework.org/wiki/index.php?action=history&amp;feed=atom&amp;title=XML_Characters_Fixing_Step"/>
	<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=XML_Characters_Fixing_Step&amp;action=history"/>
	<updated>2026-04-15T06:26:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=XML_Characters_Fixing_Step&amp;diff=385&amp;oldid=prev</id>
		<title>Ysavourel: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=XML_Characters_Fixing_Step&amp;diff=385&amp;oldid=prev"/>
		<updated>2016-06-04T23:20:01Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:20, 4 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Ysavourel</name></author>
	</entry>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=XML_Characters_Fixing_Step&amp;diff=384&amp;oldid=prev</id>
		<title>Ysavourel at 21:32, 16 March 2011</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=XML_Characters_Fixing_Step&amp;diff=384&amp;oldid=prev"/>
		<updated>2011-03-16T21:32:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Steps Header}}&lt;br /&gt;
__TOC__&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
This step replaces characters that are invalid in XML by a marker.&lt;br /&gt;
&lt;br /&gt;
Takes: raw document. Sends: raw document.&lt;br /&gt;
&lt;br /&gt;
You need to specify what is the input encoding of the document. The only case where you do not have to specify the input encoding is for files with a Byte-Order-Mark. The output is done in same encoding as the input document, and Byte-Order-Marks are preserved if they are present.&lt;br /&gt;
&lt;br /&gt;
The step recognizes raw characters as well as numeric character references (NCRs), such as &amp;lt;code&amp;gt;&amp;amp;amp;#000B;&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;&amp;amp;amp;#11;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cite&amp;gt;Replacement string&amp;lt;/cite&amp;gt; &amp;amp;mdash; Enter the string to use to replace the characters. This string must be a valid [http://download.oracle.com/javase/6/docs/api/java/util/Formatter.html Java Formatter string]. The parameter passed in always the integer value of the Unicode code-point. For example, to replace the invalid character by its hexadecimal representation placed between braces use: &amp;quot;&amp;lt;code&amp;gt;{%X}&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you want to remove the invalid characters: leave the replacement string empty.&lt;br /&gt;
&lt;br /&gt;
Here are more examples. Note that some characters like &amp;lt;code&amp;gt;%&amp;lt;/code&amp;gt; have special function in this syntax and may need to be escaped.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
! Invalid Character&lt;br /&gt;
! Replacement String&lt;br /&gt;
! Result&lt;br /&gt;
|-&lt;br /&gt;
| U+000B || &amp;lt;code&amp;gt;x%03X&amp;lt;/code&amp;gt; || x0B&lt;br /&gt;
|-&lt;br /&gt;
| U+000B || &amp;lt;code&amp;gt;_#x%X;&amp;lt;/code&amp;gt; || _#xB;&lt;br /&gt;
|-&lt;br /&gt;
| U+000B || &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt; || ?&lt;br /&gt;
|-&lt;br /&gt;
| U+000B || &amp;lt;code&amp;gt;&amp;amp;amp;#xFFFD;&amp;lt;/code&amp;gt; || &amp;amp;amp;#xFFFD;&lt;br /&gt;
|-&lt;br /&gt;
| U+000B || &amp;lt;code&amp;gt;%%%d%%&amp;lt;/code&amp;gt; || %11%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Limitations==&lt;br /&gt;
&lt;br /&gt;
None known.&lt;br /&gt;
&lt;br /&gt;
[[Category:Steps]]&lt;/div&gt;</summary>
		<author><name>Ysavourel</name></author>
	</entry>
</feed>