Sorin,
They are identical to what I copy/paste just before
But here they are attached
Regards,
Xmlizer
Please post the two files (the schema and the XML file) that are located in the same folder.
Regards,
Sorin
mozer wrote:
Sorin,
Yes I do validate and even do empty cache and validate but It says that the document is valid which is stange
Do you have any idea from where do I need to start
The rng and xml are in the same folder
Xmlizer
oXygen-user@oxygenxml.com <mailto:oXygen-user@oxygenxml.com> ------------------------------------------------------------------------On Mon, Jun 2, 2008 at 11:53 AM, Sorin Ristache <sorin@oxygenxml.com <mailto:sorin@oxygenxml.com>> wrote:
Hello,
What do you mean it validates the document? I get the error:
unfinished element "root": "foo" required to finish the element
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?
Regards,
Sorin
mozer wrote:
In Oxygen 9.1 2007122116
With this RNG Schema
<?xml version="1.0" encoding="UTF-8"?>
<grammar
xmlns="http://relaxng.org/ns/structure/1.0"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
<element name="root">
<element name="foo">
<text/>
</element>
</element>
</start>
</grammar>
It validates this document
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="test-1.rng" type="xml"?>
<root>
</root>
Where am I wrong ?
Regards,
Xmlizer
_______________________________________________
oXygen-user mailing list
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
http://www.oxygenxml.com/mailman/listinfo/oxygen-user