W3C home > Mailing lists > Public > www-validator@w3.org > October 2007

Re: Some suggestions for the SOAP api

From: Chris. <chris.forummail@swankinnovations.com>
Date: Wed, 10 Oct 2007 21:53:25 -0700 (PDT)
Message-ID: <13149338.post@talk.nabble.com>
To: www-validator@w3.org

Gmail Directeur wrote:
> i.e. use two children <m:feedback> and <m:explanation-content>
> Instead of the <p class="helpwanted"> and <div class="ve mid-344">
> This, IMHO, is better for a SOAP consumer, since it avoids
> all pre-formating. and it separates "semantically" two things:
> the real explanation and the feedback link.

Sounds like we're on the same page here -- looks like we both posted the
same solution.  

Now that I've thought about it more, here's my refined variation on this
same theme:

<m:markupvalidationresponse ...
                   CDATA as currently (for backwards compatibility)

                   CDATA with <p class="helpwanted">...</p>

                   CDATA with <div class="ve mid-344">...</div>


                      Plain text paragraph (probably fancy tag strip 
                      and parse of m:explanationcontenthtml)

                      2nd plain text paragraph (probably fancy tag 
                      strip and parse of m:explanationcontenthtml)


It's a bit elaborate and it does increase the size of the response (though
nowhere near the file size of the HTML output version).  But this way:
  * Backwards compatibility is ensured (if you think that matters --
     otherwise, deprecate this one).
  * Raw text messages and the link url for helpwanted are available 
     for those that just want raw data.
  * HTML versions of just the helpwanted and content are separately
     available for those that want to keep all the markup within the 


View this message in context: http://www.nabble.com/Some-suggestions-for-the-SOAP-api-tf4532107.html#a13149338
Sent from the w3.org - www-validator mailing list archive at Nabble.com.
Received on Thursday, 11 October 2007 04:53:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:53 UTC