This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4613 - soap output includes whitespace within source
Summary: soap output includes whitespace within source
Status: RESOLVED FIXED
Alias: None
Product: Validator
Classification: Unclassified
Component: Templates (show other bugs)
Version: HEAD
Hardware: Macintosh All
: P2 normal
Target Milestone: 0.8.0
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-08 21:47 UTC by Brett Bieber
Modified: 2007-06-12 20:19 UTC (History)
0 users

See Also:


Attachments
removes whitespace surrounding source cdata (1.23 KB, patch)
2007-06-08 21:48 UTC, Brett Bieber
Details

Description Brett Bieber 2007-06-08 21:47:20 UTC
The soap12 output for the validator includes the context for the error(s), but contains additional whitespace and newline characters surrounding the cdata.

I would propose removing the whitespace surrounding the source elements within the soap_output.tmpl file.
Comment 1 Brett Bieber 2007-06-08 21:48:40 UTC
Created attachment 477 [details]
removes whitespace surrounding source cdata

This patch brings all the xml output on to one line for the source element of the source output to eliminate any additional whitespace.
Comment 2 Olivier Thereaux 2007-06-12 20:19:35 UTC
Hi Brett,

(In reply to comment #1)
> Created an attachment (id=477) [edit]
> removes whitespace surrounding source cdata
> 
> This patch brings all the xml output on to one line for the source element of
> the source output to eliminate any additional whitespace.

The patch looks good. I made only one change, your patch didn't remove one linebreak in the warning source display and I assumed for consistency it was best to remove it, too. And it's off to CVS. Will make its way to the release.

Thanks!