>
>2) In the SOAP document, in section 3, it reads:
> "A SOAP message MUST NOT contain Processing Instructions."
> As the XML declaration is not a processing instruction, this might
> include PIs -before- the Envelope. At which point SRW must Never
> issue a stylesheet in the response, even if requested. Does anyone
> know?
i.e. sending this as an SRW response might not be allowed
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://www.foo.org/"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" (etc.)
Axis 1.1 (using SAX) complains "Exception on response: ; nested
exception is:
org.xml.sax.SAXException: Processing instructions are not
allowed within SOAP messages"
Monica
|