Re: online XML Schema validation service, python bindings

Mukul Gandhi <[email protected]> Sun, 31 May 2020 16:36:08 +0530
Newsgroups gmane.text.xml.schema.devel
Message-ID <CABuuzNPvBewCXucCHvF0mYAFucKmd-pK3RN_v0iMojeFD_-ruQ@mail.gmail.com>
--0000000000004407fc05a6efabd0
Content-Type: text/plain; charset="UTF-8"

On Sun, May 24, 2020 at 4:31 PM Michael Kay <[email protected]> wrote:

> (a) To allow schema validation to be invoked over HTTP, it would be a good
> idea to define a standard XML vocabulary for the validation report. I
> wouldn't expect two validators to produce exactly the same errors, but the
> information in the errors (e.g. line number, constraint reference, etc)
> could be delivered in the same way.
>

I was able to modify, the 'online XML Schema validator' located at
https://www.softwarebytes.org/xmlvalidation/ (and the advanced one as
well), where the API implementation was modified (tested with remote Python
scripts) to provide following features,
The user with an option in Python scripts, can ask for response type to be
text, XML or JSON. The Python scripts located on the preceding mentioned
site, have been modified to illustrate all possible input options.




-- 
Regards,
Mukul Gandhi

--0000000000004407fc05a6efabd0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">On Sun, May 24, 2020 at =
4:31 PM Michael Kay &lt;<a href=3D"mailto:[email protected]">mike@saxonica.=
com</a>&gt; wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex"><div style=3D"overflow-wrap: break-word;"><di=
v>(a) To allow schema validation to be invoked over HTTP, it would be a goo=
d idea to define a standard XML vocabulary for the validation report. I wou=
ldn&#39;t expect two validators to produce exactly the same errors, but the=
 information in the errors (e.g. line number, constraint reference, etc) co=
uld be delivered in the same way.<br></div></div></blockquote><div><br></di=
v><div>I was able to modify, the &#39;online XML Schema validator&#39; loca=
ted at=C2=A0<a href=3D"https://www.softwarebytes.org/xmlvalidation/">https:=
//www.softwarebytes.org/xmlvalidation/</a>=C2=A0(and the advanced one as we=
ll), where the API implementation was modified (tested with remote Python s=
cripts) to provide following features,</div><div>The user with an option in=
 Python scripts, can ask for response type to be text, XML or JSON. The Pyt=
hon scripts located on the preceding mentioned site, have been modified to =
illustrate all possible input options.</div><div><br></div><div>=C2=A0</div=
></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr" class=3D"gm=
ail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div=
 dir=3D"ltr"><div>Regards,<br>Mukul Gandhi</div></div></div></div></div></d=
iv></div></div></div>

--0000000000004407fc05a6efabd0--