kripken / xml.js

Port of libxml to JavaScript using Emscripten
Other
174 stars 67 forks source link

There are warnings in the returned error messages #23

Open warjohn123 opened 6 years ago

warjohn123 commented 6 years ago

Should there be a way to separate warning and actual error because warnings can be ignored. Like this one:

[ 'file_0.xsd:1324: element attribute: Schemas parser warning : Element \'{http://www.w3.org/2001/XMLSchema}attribute\': Skipping attribute use prohibition, since it is pointless when extending a type.', 'file_0.xsd:1371: element attribute: Schemas parser warning : Element \'{http://www.w3.org/2001/XMLSchema}attribute\': Skipping attribute use prohibition, since it is pointless when extending a type.', 'file_0.xsd:1372: element attribute: Schemas parser warning : Element \'{http://www.w3.org/2001/XMLSchema}attribute\': Skipping attribute use prohibition, since it is pointless when extending a type.', 'file_0.xsd:1373: element attribute: Schemas parser warning : Element \'{http://www.w3.org/2001/XMLSchema}attribute\': Skipping attribute use prohibition, since it is pointless when extending a type.', 'file_0.xsd:1374: element attribute: Schemas parser warning : Element \'{http://www.w3.org/2001/XMLSchema}attribute\': Skipping attribute use prohibition, since it is pointless when extending a type.' ]