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 <<a href="mailto:sorin@oxygenxml.com">sorin@oxygenxml.com</a>> 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 "root": "foo" 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>
<?xml version="1.0" encoding="UTF-8"?><br>
<grammar<br>
xmlns="<a href="http://relaxng.org/ns/structure/1.0" target="_blank">http://relaxng.org/ns/structure/1.0</a>"<br>
xmlns:a="<a href="http://relaxng.org/ns/compatibility/annotations/1.0" target="_blank">http://relaxng.org/ns/compatibility/annotations/1.0</a>"<br>
datatypeLibrary="<a href="http://www.w3.org/2001/XMLSchema-datatypes" target="_blank">http://www.w3.org/2001/XMLSchema-datatypes</a>"><br>
<start><br>
<element name="root"><br>
<element name="foo"><br>
<text/><br>
</element><br>
</element><br>
</start><br>
</grammar><br>
<br>
<br>
It validates this document<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<?oxygen RNGSchema="test-1.rng" type="xml"?><br>
<root><br>
</root><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>