El 16/06/2013 19:20, Camille Bégnis escribió:
has anyone ever tried to add a grammar checker to XXE?
Is it something planned?
Which kind of grammar?
If you refer to an XML schema (DTD, XSD, RNG) then there is a
command-line xmltool utility already included in the XXE distribution:
"Usage:
xmltool validate validate_options common_options [ xml_file ]*
Validates specified XML files. If no XML files are specified, it is the
schemas specified using the "-s" option which are validated.
-s schema
Use specified schema file to validate all specified XML files.
schema must be a DTD having a ".dtd" extension or a W3C XML Schema
having a ".xsd", ".xs", ".wxs" extension or a RELAX NG schema
having a ".rng", ".rnc" (compact syntax) extension.
..."
Hope this helps.
--
Manuel Collado - http://lml.ls.fi.upm.es/~mcollado
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support