W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2003

Re: Error: missing quote mark for attribute value

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 18 Feb 2003 03:49:20 +0100
To: <M.Zuiderwijk@priva.nl>
Cc: <html-tidy@w3.org>
Message-ID: <3e6e95d9.184556708@smtp.bjoern.hoehrmann.de>

* Marco Zuiderwijk wrote:
>I have an HTML file which contains object parameters containing XML
><PARAM NAME="Address" VALUE='<address
>><info><name>text</name></info><objects type="Location" ><object><index>Idx
>20</index></object></objects></address>'>). When I call tidy to convert this
>file to XHTML I got the error "missing quote mark for attribute value on the
>line containing the XML parameter.

Tidy counts the number of newlines, < and > characters in attribute
values and reports the mentioned error if the value includes a `<`,
the number of [\n<>] is greater than 10 and the user didn't specify
`--literal-attributes yes`. This is done to detect improperly quoted

>I have tried several options, but cannot
>get it right. Does anybody know how to handle this?

Use `--force-output yes` or `--literal-attributes yes`.
Received on Monday, 17 February 2003 21:48:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:53 UTC