<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
I'm not sure if this is the right list to ask this question ...<br>
<br>
Normally, I validate using oXygen, but my client wants me to provide a
demo of online validation for users who don't have such an editor.<br>
<br>
I have been trying to use validator.nu to demonstrate validation with
respect to our RNC schema, that is generated on the fly<br>
<br>
<a
 href="http://ruleml.org/0.91/relaxng/schema_rnc.php?backbone=x3f&default=x7&termseq=x7&lng=x1&propo=x3f&implies=x7&terms=xf3f&quant=x7&expr=xf&serial=xf">http://ruleml.org/0.91/relaxng/schema_rnc.php?backbone=x3f&default=x7&termseq=x7&lng=x1&propo=x3f&implies=x7&terms=xf3f&quant=x7&expr=xf&serial=xf</a><br>
<br>
<br>
I find that validator.nu cannot handle this schema URL, apparently
because it does not end with .rnc, so it doesn't know what the language
is.<br>
<br>
<span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Trebuchet MS'; font-size: 29px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span
 class="Apple-style-span" style="font-family: sans-serif;">
<p style="margin: 0px;"><strong>Fatal Error</strong>:<span
 class="Apple-converted-space"> </span><span>required character (found<span
 class="Apple-converted-space"> </span><code style="">n</code>)
(expected<span class="Apple-converted-space"> </span><code style=""><</code>)</span></p>
<p class="location" style="margin: 0px;">At line<span
 class="Apple-converted-space"> </span><span class="last-line">1</span>,
column<span class="Apple-converted-space"> </span><span class="last-col">1</span><span
 class="Apple-converted-space"> </span>in resource<span
 class="Apple-converted-space"> </span><span class="url"><a class="moz-txt-link-freetext" href="http://ruleml.org/0.91/relaxng/schema_rnc.php?backbone=x1&default=x7&termseq=x2&lng=x1&propo=xf&implies=x6&terms=xf0f&quant=x1&expr=x1&serial=xf">http://ruleml.org/0.91/relaxng/schema_rnc.php?backbone=x1&default=x7&termseq=x2&lng=x1&propo=xf&implies=x6&terms=xf0f&quant=x1&expr=x1&serial=xf</a></span></p>
</span></span><br>
<br>
I tried a couple of work-arounds<br>
1. redirect from a url with the .rnc extension to the PHP url<br>
2.use an nvdl script where the schema type is stated explicitly<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<rules xmlns=<a class="moz-txt-link-rfc2396E" href="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0">"http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"</a><br>
    xmlns:a=<a class="moz-txt-link-rfc2396E" href="http://relaxng.org/ns/compatibility/annotations/1.0">"http://relaxng.org/ns/compatibility/annotations/1.0"</a>><br>
    <namespace ns=<a class="moz-txt-link-rfc2396E" href="http://www.ruleml.org/0.91/xsd">"http://www.ruleml.org/0.91/xsd"</a>><br>
      <validate
schema=<a class="moz-txt-link-rfc2396E" href="http://ruleml.org/0.91/relaxng/schema_rnc.php?backbone=x3f&default=x7&termseq=x7&lng=x1&propo=x3f&implies=x7&terms=xf3f&quant=x7&expr=xf&serial=xf">"http://ruleml.org/0.91/relaxng/schema_rnc.php?backbone=x3f&amp;default=x7&amp;termseq=x7&amp;lng=x1&amp;propo=x3f&amp;implies=x7&amp;terms=xf3f&amp;quant=x7&amp;expr=xf&amp;serial=xf"</a>
schemaType="application/relax-ng-compact-syntax"/><br>
    </namespace><br>
    <anyNamespace><br>
        <allow/><br>
    </anyNamespace><br>
</rules><br>
<br>
But I always get the same error message. <br>
I am guessing that each of the requests generates a new request that
looks like what I tried to enter originally.<br>
<br>
Note - if I copy the schema generated by the PHP and save it in file
(with .rnc extension) and give a URL pointing to that, then validation
is successful.<br>
<br>
Any suggestions for a work-around?<br>
<br>
Thanks, Tara<br>
<br>
<br>
</body>
</html>