[erlang-questions] [Patch] XMERL Attributes without whitespaces
Tue Sep 16 06:05:09 CEST 2014
Is your parser open source? Where is it hosted?
On Tue, Sep 16, 2014 at 9:29 AM, Richard A. O'Keefe <ok@REDACTED>
> On 15/09/2014, at 11:22 PM, Eranga Udesh wrote:
> > Hi Motiejus,
> > It is not just W3C parser, but it seems PHP/Java XML parser(s) too
> support attributes without spaces.
> For what it's worth, my XML parser and the SWI Prolog XML
> parser and nsgmls with the -xwml flag
> accept missing white space, while xmllint(1) does not.
> It's not just XML 1.1 that says attributes must be separated
> by spaces. The grammar is the same in XML 1.0, and the
> HTML 5 specification says in
> that "Attributes must be separated from each other by one
> or more space characters."
> One would hope that a validator would enforce this.
> My own parser is called 'qh' (for Quick Hack), so you can
> guess how much checking it does...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions