- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 18 Jun 2008 18:08:19 +0000
- To: www-validator-cvs@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5770
Summary: CSS Validator does not produce valid XML for SOAP
responses.
Product: CSSValidator
Version: CSS Validator
Platform: All
URL: http://jigsaw.w3.org/css-validator
OS/Version: All
Status: NEW
Severity: major
Priority: P1
Component: CSS 2.1
AssignedTo: dave.null@w3.org
ReportedBy: w3c@bugmenot.com
QAContact: www-validator-cvs@w3.org
Created an attachment (id=558)
--> (http://www.w3.org/Bugs/Public/attachment.cgi?id=558)
SOAP output for this error.
When validating CSS what includes URL’s with ampersands in them, the responses
do not return valid XML (or XHTML). This is because the ampersands are carried
through to the output without being encoded.
Example Input (typed into the TextArea or set as text in POST):
.google
{
background-image:
url(http://www.google.com/logo.jpg?is=evil&but=we_love_them_anyway);
}
Location of Error in SOAP output:
/env:Envelope/env:Body/m:cssvalidationresponse/m:result/m:css/m:noAtRule/m:selector/m:RuleList/m:Rule/m:PropertyValue
If XML encoding is too much trouble, you might consider adding CDATA blocks
around the contents of this field.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 18 June 2008 18:08:54 UTC