[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-dev
Subject:    [xml-dev] A dandy little technique for constraining your strings to ASCII
From:       "Costello, Roger L." <costello () mitre ! org>
Date:       2015-10-21 17:07:02
Message-ID: DM2PR09MB0351E8A4D438AF2602A33582C8380 () DM2PR09MB0351 ! namprd09 ! prod ! outlook ! com
[Download RAW message or body]

Hi Folks,

So, you've created an XML schema. And it contains a lot of elements and attributes of \
type string.

You want each string constrained to just ASCII characters. Use the pattern facet for \
that.

Here's a dandy little technique you can use:

At the top of your schema, place this named entity declaration:

<!DOCTYPE xs:schema [
<!ENTITY ASCII "[\p{IsBasicLatin}]*">
]>

The entity ( ASCII ) can then be referenced in each pattern facet:

<xs:simpleType name="NameType">
    <xs:restriction base="xs:string">
        <xs:maxLength value="10" />
        <xs:pattern value="&ASCII;" />
    </xs:restriction>
</xs:simpleType>

<xs:simpleType name="DescriptionType">
    <xs:restriction base="xs:string">
        <xs:maxLength value="20" />
        <xs:pattern value="&ASCII;" />
    </xs:restriction>
</xs:simpleType>

At parse-time the XML parser will substitute each entity reference ( &ASCII; ) with \
its replacement text ( [\p{IsBasicLatin}]* ).

The entity provides useful documentation; i.e., I assert that this:

<xs:pattern value="&ASCII;" />

is more readable than this:

<xs:pattern value="[\p{IsBasicLatin}]*" />

Here's a complete schema to illustrate the technique:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xs:schema [
<!ENTITY ASCII "[\p{IsBasicLatin}]*">
]>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <xs:element name="Test">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Name" type="NameType" />
                <xs:element name="Description" type="DescriptionType" />
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:simpleType name="NameType">
        <xs:restriction base="xs:string">
            <xs:maxLength value="10" />
            <xs:pattern value="&ASCII;" />
        </xs:restriction>
    </xs:simpleType>

    <xs:simpleType name="DescriptionType">
        <xs:restriction base="xs:string">
            <xs:maxLength value="20" />
            <xs:pattern value="&ASCII;" />
        </xs:restriction>
    </xs:simpleType>

</xs:schema>

/Roger


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi Folks,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">So, you&#8217;ve created an XML schema. And it contains a lot of \
elements and attributes of type string.<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">You want each string \
constrained to just ASCII characters. Use the pattern facet for that.<o:p></o:p></p> \
<p class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">Here&#8217;s a dandy \
little technique you can use:<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">At the top of your \
schema, place this named entity declaration:<o:p></o:p></p> <p \
class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:blue">&lt;!DOCTYPE xs:schema [</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:blue">&lt;!ENTITY ASCII \
&quot;[\p{IsBasicLatin}]*&quot;&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:blue">]&gt;</span><span \
style="font-size:10.0pt"><o:p></o:p></span></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">The entity ( <span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:blue"> \
ASCII </span>) can then be referenced in each pattern facet:<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:simpleType</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
name</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;NameType&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:restriction</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
base</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;xs:string&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:maxLength</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
value</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;10&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">/&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:pattern</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
value</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;&amp;ASCII;&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">/&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;/xs:restriction&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;/xs:simpleType&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> <br>
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:simpleType</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
name</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;DescriptionType&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:restriction</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
base</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;xs:string&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:maxLength</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
value</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;20&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">/&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:pattern</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
value</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;&amp;ASCII;&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">/&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;/xs:restriction&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;/xs:simpleType&gt;</span><span \
style="font-size:10.0pt"><o:p></o:p></span></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">At parse-time the XML \
parser will substitute each entity reference ( <span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#993300"> \
&amp;ASCII;</span> ) with its replacement text ( <span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:blue"> \
[\p{IsBasicLatin}]*</span> ).<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">The entity provides \
useful documentation; i.e., I assert that this:<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal" \
style="text-indent:.5in"><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:pattern</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
value</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;&amp;ASCII;&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">/&gt;</span><o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">is more readable than \
this:<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="text-indent:.5in"><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:pattern</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
value</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:blue">[\p{IsBasicLatin}]*</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">/&gt;</span><o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">Here&#8217;s a complete \
schema to illustrate the technique:<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#8B26C9">&lt;?xml version=&quot;1.0&quot; \
encoding=&quot;UTF-8&quot;?&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:blue">&lt;!DOCTYPE xs:schema [</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:blue">&lt;!ENTITY ASCII \
&quot;[\p{IsBasicLatin}]*&quot;&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:blue">]&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:schema</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#0099CC">xmlns:xs</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;http://www.w3.org/2001/XMLSchema&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:black"> \
<br> &nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:10.0pt;font-family:&quot;Times \
New Roman&quot;,serif;color:#003296">&lt;xs:element</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
name</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;Test&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:complexType&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:sequence&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:element</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
name</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;Name&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
type</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;NameType&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">/&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:element</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
name</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;Description&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
type</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;DescriptionType&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">/&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;/xs:sequence&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;/xs:complexType&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;/xs:element&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:10.0pt;font-family:&quot;Times \
New Roman&quot;,serif;color:#003296">&lt;xs:simpleType</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
name</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;NameType&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:restriction</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
base</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;xs:string&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:maxLength</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
value</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;10&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">/&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:pattern</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
value</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;&amp;ASCII;&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">/&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;/xs:restriction&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;/xs:simpleType&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:10.0pt;font-family:&quot;Times \
New Roman&quot;,serif;color:#003296">&lt;xs:simpleType</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
name</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;DescriptionType&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:restriction</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
base</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;xs:string&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:maxLength</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
value</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;20&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">/&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;xs:pattern</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
value</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#FF8040">=</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#993300">&quot;&amp;ASCII;&quot;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#F5844C"> \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#000096">/&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;/xs:restriction&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> &nbsp;&nbsp;&nbsp; </span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;/xs:simpleType&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> <br>
</span><span style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:#003296">&lt;/xs:schema&gt;</span><span \
style="font-size:10.0pt;font-family:&quot;Times New \
Roman&quot;,serif;color:black"><br> <br>
</span><span style="font-size:10.0pt"><o:p></o:p></span></p>
<p class="MsoNormal">/Roger<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic