<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Anne van Kesteren wrote:
<blockquote cite="mid:op.v2ntafej64w2qv@annevk-macbookpro.local"
 type="cite">On Fri, 30 Sep 2011 22:41:04 +0200, Tara Athan
<a class="moz-txt-link-rfc2396E" href="mailto:taraathan@gmail.com"><taraathan@gmail.com></a> wrote:
  <br>
  <blockquote type="cite">Any suggestions for a work-around?
    <br>
  </blockquote>
  <br>
I think you should simply set the MIME type to something other than
text/html.
  <br>
  <br>
  <br>
</blockquote>
Thanks, Anne - I added a header('Content-type:
application/relax-ng-compact-syntax; charset=utf-8');<br>
 statement to my php and that got me partway there.<br>
<br>
Now validator.nu reads my driver file and manages to load all the
include files.<br>
(The include files are all static, with .rnc extension and my server
delivers them with a text/plain mime type, so I still have to check the
"Be lax" option.)<br>
Then it complains about a 404 error when loading the instance file.<br>
<br>
However, if I use a static copy of the driver schema, scraped from the
PHP output, the same instance file loads with no problem and validation
is performed correctly.<br>
<br>
<br>
In my first email, I forgot to note that I have to replace all the
& in my query string with &amp;,  so<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&amp;default=x7&</a><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">amp;</a><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">termseq=x7&</a><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">amp;</a><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">lng=x1&</a><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">amp;</a><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">propo=x3f&</a><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">amp;</a><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">implies=x7&</a><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">amp;</a><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">terms=xf3f&</a><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">amp;</a><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">quant=x7&</a><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">amp;</a><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">expr=xf&</a><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">amp;</a><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">serial=xf</a><br>
<br>
The static schema has URL<br>
<br>
<a class="moz-txt-link-freetext" href="http://ruleml.org/0.91/relaxng/naffologeq_relaxed_static.rnc">http://ruleml.org/0.91/relaxng/naffologeq_relaxed_static.rnc</a><br>
<br>
And the instance file is<br>
<br>
<a class="moz-txt-link-freetext" href="http://ruleml.org/0.91/exa-test/bindatagroundfact.ruleml">http://ruleml.org/0.91/exa-test/bindatagroundfact.ruleml</a><br>
<br>
Thanks, Tara<br>
</body>
</html>