relaxng / jing-trang

Schema validation and conversion based on RELAX NG
http://www.thaiopensource.com/relaxng/
Other
228 stars 69 forks source link

TRANG generates <xs:import namespace="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="xsi.xsd"/> #279

Open GerbenAbbink opened 1 year ago

GerbenAbbink commented 1 year ago

I am using TRANG to generate an XMLSchema from a sample XML file.

The XML file contains this line:

TRANG should ignore the "xsi" namespace, instead it generates this line in the XMLSchema: TRANG also generates xsi.xsd. Because TRANG is file-based, I cannot easily filter the xmlns:xsi attribute before giving the XML file to TRANG.