<div dir="ltr"><div>Richard,</div><div><br></div>Is your parser open source? Where is it hosted?<div><br></div><div>- Eranga</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 16, 2014 at 9:29 AM, Richard A. O'Keefe <span dir="ltr"><<a href="mailto:ok@cs.otago.ac.nz" target="_blank">ok@cs.otago.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
On 15/09/2014, at 11:22 PM, Eranga Udesh wrote:<br>
<br>
> Hi Motiejus,<br>
><br>
> It is not just W3C parser, but it seems PHP/Java XML parser(s) too support attributes without spaces.<br>
<br>
</span>For what it's worth, my XML parser and the SWI Prolog XML<br>
parser and nsgmls with the -xwml flag<br>
accept missing white space, while xmllint(1) does not.<br>
<br>
It's not just XML 1.1 that says attributes must be separated<br>
by spaces. The grammar is the same in XML 1.0, and the<br>
HTML 5 specification says in<br>
<a href="http://www.w3.org/TR/html5/syntax.html#start-tags" target="_blank">http://www.w3.org/TR/html5/syntax.html#start-tags</a><br>
that "Attributes must be separated from each other by one<br>
or more space characters."<br>
<br>
One would hope that a validator would enforce this.<br>
My own parser is called 'qh' (for Quick Hack), so you can<br>
guess how much checking it does...<br>
<br>
<br>
</blockquote></div><br></div>