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 class="gmail_quote">On Mon, Jun 2, 2008 at 11:53 AM, 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;">
Hello,<br>
<br>
What do you mean it validates the document? I get the error:<br>
<br>
unfinished element &quot;root&quot;: &quot;foo&quot; required to finish the element<br>
<br>
Did you press the Validate Document toolbar button and Oxygen reported no validation error? Does the file test-1.rng that is located in the same folder as the XML file contain the RELAX NG schema that you posted to the list?<br>

<br>
<br>
Regards,<br>
Sorin<div><div></div><div class="Wj3C7c"><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;">
In Oxygen 9.1 2007122116<br>
<br>
With this RNG Schema<br>
<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;grammar<br>
 &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;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;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;&lt;start&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;element name=&quot;root&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;element name=&quot;foo&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;text/&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/element&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;/element&gt;<br>
 &nbsp; &nbsp;&lt;/start&gt;<br>
&lt;/grammar&gt;<br>
<br>
<br>
It validates this document<br>
<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;?oxygen RNGSchema=&quot;test-1.rng&quot; type=&quot;xml&quot;?&gt;<br>
&lt;root&gt;<br>
 &nbsp; &lt;/root&gt;<br>
<br>
Where am I wrong ?<br>
<br>
Regards,<br>
<br>
Xmlizer<br>
</blockquote></div></div>
_______________________________________________<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>
</blockquote></div><br>