[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [computer-go] GTP and Tourney in SmartGo 1.4



Nick Wedd wrote:
> In message <200403161531.22066.pogonyshev@xxxxxxxxxxxxxxxxx>, Paul Pogonyshev 
> <pogonyshev@xxxxxxxxxxxxxxxxx> writes
> 
> >Please point me to any _communication protocol_ that is based on XML.
> 
> http://www.xml.org/xml/resources_focus_soap.shtml

OK, I admit I missed something.

Now, let's have a look at some SOAP tutorial.  An example:

<SOAP-ENV:Envelope 
                        xmlns:SOAP-ENV="
 http://schemas.xmlsoap.org/soap/envelope/"; 
                        xmlns:xsi="
 http://www.w3.org/1999/XMLSchema-instance"; 
                        xmlns:xsd="http://www.w3.org/1999/XMLSchema";>
      <SOAP-ENV:Header>
      </SOAP-ENV:Header>
     <SOAP-ENV:Body>
          <ns1:sayHelloTo 
                       xmlns:ns1="Hello" 
                      SOAP-ENV:encodingStyle="
 http://schemas.xmlsoap.org/soap/encoding/";>
              <name xsi:type="xsd:string">John</name>
          </ns1:sayHelloTo>
     </SOAP-ENV:Body>
 </SOAP-ENV:Envelope>

Well...

How many time would you need to read this?  I won't even try.  I just
picked the answer from the tutorial: it's the SOAP way to write

	sayHelloTo(John)

...

At this point my investigation of possibility of using XML for
communication ends.

Don't know how about you, but I wouldn't call the above "readable".
Maybe it can be made cleaner with special software (XML viewer?),
don't know.  But why the hell would I use it if I can use obvious,
human-readable, human-writable and easily-parseable GTP?

Paul
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://computer-go.org/mailman/listinfo/computer-go