XML-Schema-learner icon indicating copy to clipboard operation
XML-Schema-learner copied to clipboard

xsd from xml is generated but xml by this xsd is not validated

Open Sohorev opened this issue 9 years ago • 2 comments

I am tried to generate all options xsd generator xml in the file universal.xml.txt

For validating am using php DOMDocument::schemaValidate

Please, fix it

Sohorev avatar Nov 20 '15 08:11 Sohorev

Confirmed. I am unable to validate the XSD created from the universal.xml file above.

It might also depend on the PHP version for DOMDocument::schemaValidate. I noticed when custom building 5.5.9 it failed the make test. However, I am still unable to validate using other tools such as http://sabre.io/xml/reading/

admonkey avatar Aug 09 '16 20:08 admonkey

Hi , i suspect its the / in the generated type names. Type definitions name attribute is of type ncname.

zodimo avatar Dec 25 '18 08:12 zodimo