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 <<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;">Please post the two files (the schema and the XML file) that are located 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 <<a href="mailto:sorin@oxygenxml.com" target="_blank">sorin@oxygenxml.com</a> <mailto:<a href="mailto:sorin@oxygenxml.com" target="_blank">sorin@oxygenxml.com</a>>> wrote:<br>
<br>
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<br>
reported no validation error? Does the file test-1.rng that is<br>
located in the same folder as the XML file contain the RELAX NG<br>
schema that you posted to the list?<br>
<br>
<br>
Regards,<br>
Sorin<br>
<br>
<br>
<br>
mozer wrote:<br>
<br>
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>
<br>
_______________________________________________<br>
oXygen-user mailing list<br></div></div>
<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a> <mailto:<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a>><div class="Ih2E3d"><br>
<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>