Sorin,<br><br>They are identical to what I copy/paste just before<br><br>But here they are attached<br><br>Regards,<br><br>Xmlizer<br><br><div class="gmail_quote">On Mon, Jun 2, 2008 at 12:02 PM, Sorin Ristache &lt;<a href="mailto:sorin@oxygenxml.com">sorin@oxygenxml.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Please post the two files (the schema and the XML file) that are located &nbsp;in the same folder.<br>

<br>
<br>
Regards,<br>
Sorin<br>
<br>
<br>
mozer wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Sorin,<br>
<br>
Yes I do validate and even do empty cache and validate but It says that the document is valid which is stange<br>
<br>
Do you have any idea from where do I need to start<br>
<br>
The rng and xml are in the same folder<br>
<br>
Xmlizer<br>
<br></div><div><div></div><div class="Wj3C7c">
On Mon, Jun 2, 2008 at 11:53 AM, Sorin Ristache &lt;<a href="mailto:sorin@oxygenxml.com" target="_blank">sorin@oxygenxml.com</a> &lt;mailto:<a href="mailto:sorin@oxygenxml.com" target="_blank">sorin@oxygenxml.com</a>&gt;&gt; wrote:<br>

<br>
 &nbsp; &nbsp;Hello,<br>
<br>
 &nbsp; &nbsp;What do you mean it validates the document? I get the error:<br>
<br>
 &nbsp; &nbsp;unfinished element &quot;root&quot;: &quot;foo&quot; required to finish the element<br>
<br>
 &nbsp; &nbsp;Did you press the Validate Document toolbar button and Oxygen<br>
 &nbsp; &nbsp;reported no validation error? Does the file test-1.rng that is<br>
 &nbsp; &nbsp;located in the same folder as the XML file contain the RELAX NG<br>
 &nbsp; &nbsp;schema that you posted to the list?<br>
<br>
<br>
 &nbsp; &nbsp;Regards,<br>
 &nbsp; &nbsp;Sorin<br>
<br>
<br>
<br>
 &nbsp; &nbsp;mozer wrote:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;In Oxygen 9.1 2007122116<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;With this RNG Schema<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;grammar<br>
 &nbsp; &nbsp; &nbsp; &nbsp; xmlns=&quot;<a href="http://relaxng.org/ns/structure/1.0" target="_blank">http://relaxng.org/ns/structure/1.0</a>&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; xmlns:a=&quot;<a href="http://relaxng.org/ns/compatibility/annotations/1.0" target="_blank">http://relaxng.org/ns/compatibility/annotations/1.0</a>&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; datatypeLibrary=&quot;<a href="http://www.w3.org/2001/XMLSchema-datatypes" target="_blank">http://www.w3.org/2001/XMLSchema-datatypes</a>&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;start&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;element name=&quot;root&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;element name=&quot;foo&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;text/&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/element&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/element&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/start&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;/grammar&gt;<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;It validates this document<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;?oxygen RNGSchema=&quot;test-1.rng&quot; type=&quot;xml&quot;?&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;root&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/root&gt;<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Where am I wrong ?<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Regards,<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Xmlizer<br>
<br>
 &nbsp; &nbsp;_______________________________________________<br>
 &nbsp; &nbsp;oXygen-user mailing list<br></div></div>
 &nbsp; &nbsp;<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a> &lt;mailto:<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a>&gt;<div class="Ih2E3d"><br>

 &nbsp; &nbsp;<a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
<br>
<br>
<br></div>
------------------------------------------------------------------------<div class="Ih2E3d"><br>
<br>
_______________________________________________<br>
oXygen-user mailing list<br>
<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a><br>
<a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
</div></blockquote><div><div></div><div class="Wj3C7c">
_______________________________________________<br>
oXygen-user mailing list<br>
<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a><br>
<a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
</div></div></blockquote></div><br>