OASIS ebXML Messaging Services TC

 View Only

Re: [ebxml-msg] envelope.xsd

  • 1.  Re: [ebxml-msg] envelope.xsd

    Posted 03-05-2002 16:16
    Arvola,
    
    And I countered with a proposal that I think addressed the
    issue without actually removing the schemaLocation section[1].
    
    The point is (from my perspective) that we don't want to
    preclude use of schemaLocation (for any purpose) but that
    we don't necessarily want to encourage its use for the
    SOAP envelope.xsd since we really don't own this.
    
    We previously had an issue w/r/t the version of XSD that
    was used to create the schema document at the namespace
    URI, but we no longer have an issue so why are we continuing
    to recommend this practice.
    
    I would suggest that if anything, we say that the schemaLocation
    is:
    
    xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/
    http://schemas.xmlsoap.org/soap/envelope/"
    
    If we replace what is at:
    
    http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd
    
    
    with what is at:
    
    http://schemas.xmlsoap.org/soap/envelope/
    
    I'm okay with that too, but we still don't want to advertise this
    in the spec IMO.
    
    Cheers,
    
    Chris
    
    Arvola Chan wrote:
    
    > Chris:
    > 
    > Both Doug and members of the interop team objected to the removal of section
    > 2.3.2 on the xsi:schemaLocation attribute.
    > 
    > Here is an excerpt from the 2_0c spec:
    > 
    > 2.3.2 xsi:schemaLocation attribute
    > The SOAP namespace: http://schemas.xmlsoap.org/soap/envelope/ resolves to a
    > W3C XML  schema specification. The ebXML OASIS ebXML Messaging TC has
    > provided an equivalent version of the SOAP schema conforming to the W3C
    > Recommendation version of the XML Schema specification [XMLSchema].
    > 
    > http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd
    > 
    > All ebXML MSH implementations are strongly RECOMMENDED to include the
    > XMLSchema-instance
    > namespace qualified schemaLocation attribute in the SOAP Envelope element to
    > indicate to validating parsers a location of the schema document that should
    > be used to validate the document. Failure to include the schemaLocation
    > attribute could prevent XML schema validation of received messages. For
    > example:
    > 
    > <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
    > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    > xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/
    > http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd">
    > 
    > -Arvola
    > 
    >