Im new to XML Copy Editor used to use XMLSpy. When I try to validate my Schemas in XML Copy Editor I get an error saying that my Schemas have no DTD. And yes that is right I just didnt think it was necesary. XMLSpy didnt care.
Is it mandatory to give a DTD/Scheam for a Schema file?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Jeppe, thanks for your message. Need to find a more elegant solution for this: for now you can select xmlschema from the RELAX NG validation options (see Validate... in XML menu).
Will switch to Xerces Schema validation ASAP (in the past that wasn't as straightforward because I was using MSXML on Win, Xerces on Linux).
In the meantime, the RELAX NG xmlschema grammar should work ok.
-Gerald
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK this is clearly not the approach to take then. I will need to add a branch to the validation method s xsd files in the appropriate namespace are automatically validated by the Xerces Schema validator.
Sorry about the inconvenience! Hope to get around to this soon.
-Gerald
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
Im new to XML Copy Editor used to use XMLSpy. When I try to validate my Schemas in XML Copy Editor I get an error saying that my Schemas have no DTD. And yes that is right I just didnt think it was necesary. XMLSpy didnt care.
Is it mandatory to give a DTD/Scheam for a Schema file?
Hi Jeppe, thanks for your message. Need to find a more elegant solution for this: for now you can select xmlschema from the RELAX NG validation options (see Validate... in XML menu).
Will switch to Xerces Schema validation ASAP (in the past that wasn't as straightforward because I was using MSXML on Win, Xerces on Linux).
In the meantime, the RELAX NG xmlschema grammar should work ok.
-Gerald
Thanks
It worked on my first Schema but it will not accept the include elements in the Schema.
OK this is clearly not the approach to take then. I will need to add a branch to the validation method s xsd files in the appropriate namespace are automatically validated by the Xerces Schema validator.
Sorry about the inconvenience! Hope to get around to this soon.
-Gerald