imatix / gsl

iMatix GSL code generator
http://www.imatix.com
GNU General Public License v3.0
539 stars 107 forks source link

XML schema validator #62

Closed canercandan closed 7 years ago

canercandan commented 9 years ago

To make the XML parsing more efficient I suggest to add an optional XML schema validation process attached to a hand-written XSD file before GSL works on it. xmllint is doing it quite fine and this is actually what I am using before calling gsl.

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:noNamespaceSchemaLocation="project.xsd"/>

To accomplish that efficiently you can benefit from the XMLSchema parameters such as xsi:schemaLocation or xsi:noNamespaceSchemaLocation.

hintjens commented 9 years ago

Nooooooo. :) Please, do not open that box. If you want XML schema validation, please do it externally before calling GSL.

On Fri, Dec 12, 2014 at 11:01 AM, Caner Candan notifications@github.com wrote:

To make the XML parsing more efficient I suggest to add an optional XML schema validation attached to a hand-written XSD file before GSL works on it. xmllint is doing it quite fine and this is actually what I am using before calling gsl.

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project.xsd"/>

To accomplish that efficiently you can benefit from the XMLSchema parameters such as xsi:schemaLocation or xsi:noNamespaceSchemaLocation.

— Reply to this email directly or view it on GitHub https://github.com/imatix/gsl/issues/62.