<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://theoracle.magentaretail.com.au/index.php?action=history&amp;feed=atom&amp;title=Illegal_XML_Check</id>
	<title>Illegal XML Check - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://theoracle.magentaretail.com.au/index.php?action=history&amp;feed=atom&amp;title=Illegal_XML_Check"/>
	<link rel="alternate" type="text/html" href="https://theoracle.magentaretail.com.au/index.php?title=Illegal_XML_Check&amp;action=history"/>
	<updated>2026-10-22T03:13:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://theoracle.magentaretail.com.au/index.php?title=Illegal_XML_Check&amp;diff=1376&amp;oldid=prev</id>
		<title>Nivin: Created page with &quot;&#039;&#039;&#039;Note:&#039;&#039;&#039; This is only applicable where EEPOS stores are present.  Replication to EEPOS may fail if Illegal XML characters are present in a record. A new stored procedure in av...&quot;</title>
		<link rel="alternate" type="text/html" href="https://theoracle.magentaretail.com.au/index.php?title=Illegal_XML_Check&amp;diff=1376&amp;oldid=prev"/>
		<updated>2014-10-20T02:10:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; This is only applicable where EEPOS stores are present.  Replication to EEPOS may fail if Illegal XML characters are present in a record. A new stored procedure in av...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; This is only applicable where EEPOS stores are present.&lt;br /&gt;
&lt;br /&gt;
Replication to EEPOS may fail if Illegal XML characters are present in a record. A new stored procedure in available in EEE version 1.76 and later that may be run to determine if any records in a table has an illegal XML character in one of its fields:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;usp_dbm_IllegalXmlCheck&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This stored procedure can only run for tables that have a single primary key field. e.g. Product, Style.&lt;br /&gt;
&lt;br /&gt;
It expects two parameters:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;@tableName&amp;lt;/code&amp;gt; - the name of the table to run the procedure for (as a string)&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;@fieldName&amp;lt;/code&amp;gt; - the name of the primary key field of the table(as a string).&lt;br /&gt;
&lt;br /&gt;
E.g. to run this against the Product table, the SQL will be:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;EXEC dbo.usp_dbm_IllegalXmlCheck @tableName = &amp;#039;Product&amp;#039;, @fieldName = &amp;#039;ProductCode&amp;#039;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If any illegal XML characters are found, an email will be send to the Email addresses specified in Company Parameters with the details.&lt;br /&gt;
&lt;br /&gt;
This stored procedure can also be set up to be run as an SQL Agent job for clients who would like to run this on a schedule. In order to prevent unnecessary load on the server, the first run will be for all the records in the specified table, and any subsequent runs will only consider rows that have been updated since the previous run.&lt;/div&gt;</summary>
		<author><name>Nivin</name></author>
	</entry>
</feed>