<div dir="ltr">Folks,<div><br></div><div>Here is the XSD schema and RELAX NG schema. I tried to make them more readable.</div><div><br></div><div>Regards,</div><div>Makoto</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-13 12:28 GMT+09:00 MURATA Makoto <span dir="ltr"><<a href="mailto:eb2m-mrt@asahi-net.or.jp" target="_blank">eb2m-mrt@asahi-net.or.jp</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">John,<div><br></div>If we remove "\" preceding [ and that preceding\]<br>we will have a syntax error and Xerces-J will report it. This is <div>because [ is interpreted as "[" and ] is interpreted </div><div>as "]" immediately. But I agree that a comment would be </div><div>useful.</div><div><br></div><div>Regards,</div><div>Makoto</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-06-06 6:40 GMT+09:00 John Haug <span dir="ltr"><<a href="mailto:johnhaug@exchange.microsoft.com" target="_blank">johnhaug@exchange.microsoft.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Apologies for the late e-mail on this.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Are there errant \ in defining the character ranges (23-5B, 5D-7E)?<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white"><!</span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">ENTITY</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">qdtext
</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">[\t</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white"> !#</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">-\</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">[</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">\</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">]</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">-</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">~&obs-text;</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">]</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Compare to how a range is defined here:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white"><!</span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">ENTITY</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">VCHAR</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">!</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">-</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">~</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">John<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <a href="mailto:eb2mmrt@gmail.com" target="_blank">eb2mmrt@gmail.com</a> [mailto:<a href="mailto:eb2mmrt@gmail.com" target="_blank">eb2mmrt@gmail.com</a>]
<b>On Behalf Of </b>MURATA Makoto<br>
<b>Sent:</b> Friday, April 10, 2015 11:50 PM<br>
<b>To:</b> SC34<br>
<b>Subject:</b> Re: Rewriting the regexp for @ContentType in opc-contentTypes.xsd<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Oops, the schema file was incorrect.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2015-04-11 12:54 GMT+09:00 MURATA Makoto <<a href="mailto:eb2m-mrt@asahi-net.or.jp" target="_blank">eb2m-mrt@asahi-net.or.jp</a>>:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Folks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have thoroughly rewritten the regular expression. it <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">does not look like a regular expression but looks like a <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">grammar. This is because I heavily used parsed entities <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">such as token, qdtext, and quoted-pair.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Attached please find the schema, and three test files.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have not finished the RELAX NG schema. It requires <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">manual conversion....<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Makoto<u></u><u></u></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal"><br>
Praying for the victims of the Japan Tohoku earthquake<br>
<br>
Makoto<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br>Praying for the victims of the Japan Tohoku earthquake<br><br>Makoto</div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><br>Praying for the victims of the Japan Tohoku earthquake<br><br>Makoto</div>
</div>