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

Improvements to SOAP warnings and fatal errors

From: Brian Wilson <bloo@blooberry.com>
Date: Thu, 26 Jul 2007 16:55:05 -0700 (PDT)
To: www-validator@w3.org
Message-ID: <Pine.SUN.4.58.0707261642430.29829@eskimo.com>

In the SOAP output, there are <m:messageid> elements detailing the error
codes from the parser, but for warnings and fatal errors this sort of
thing is not present. It seems that it would be useful to have something
like this (well...it would be for what I'm doing, but I think it could be
useful for others that want to store the class of the warning and not the
full text of the warning itself).

Currently in soap_warnings.tmpl, each warning has a section like:
  <m:warning><m:message>DOCTYPE Override in effect!</m:message></m:warning>

Would it be possible to have something like this instead?:
  <m:warning><m:message>DOCTYPE Override in effect!</m:message>

I'm not sure (without some extensive digging) where the fatal error output
is defined, but perhaps something similar could be done for those as well.
I'm currently doing string matches against the <env:Reason>/<env:Text>
content when a <env:Fault>/m:exception is encountered, and that solution
doesn't seem very elegant.

thanks in advance for any advice
Received on Thursday, 26 July 2007 23:55:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:03 UTC