Semantic Model Mail Archive: SM> RE: Server extension point

Semantic Model Mail Archive: SM> RE: Server extension point

SM> RE: Server extension point missing error

From: Zehler, Peter (PZehler@crt.xerox.com)
Date: Thu Jun 03 2004 - 15:01:09 EDT

  • Next message: Zehler, Peter: "SM> Server extension point missing error"

    All,

    I discovered this new issue recently. The Server element definition in
    PwgSemanticModel.xsd does not have an extension point as do all the other
    elements. The result is that we would be unable to add any other services
    such as scan or any device to the root node.

    The incorrect (i.e. current) definition is
    <xsd:complexType name="Server">
                    <xsd:annotation>
                            <xsd:documentation>The container object Server is
    not explicitly modeled in the PWG Semantic Model</xsd:documentation>
                    </xsd:annotation>
                    <xsd:sequence>
                            <xsd:element name="Printer" maxOccurs="unbounded">
                                    <xsd:complexType>
                                            <xsd:complexContent>
                                                    <xsd:extension
    base="Printer">
                                                            <xsd:sequence>
                                                                    <xsd:element
    name="Job" minOccurs="0" maxOccurs="unbounded">
            
    <xsd:complexType>
            
    <xsd:complexContent>
            
    <xsd:extension base="Job">
            
    <xsd:sequence>
            
    <xsd:element name="Document" type="Document" minOccurs="0"
    maxOccurs="unbounded"/>
            
    </xsd:sequence>
            
    </xsd:extension>
            
    </xsd:complexContent>
            
    </xsd:complexType>
            
    </xsd:element>
                                                            </xsd:sequence>
                                                    </xsd:extension>
                                            </xsd:complexContent>
                                    </xsd:complexType>
                            </xsd:element>
                    </xsd:sequence>
            </xsd:complexType>

    The correct definition is
    <xsd:complexType name="Server">
                    <xsd:annotation>
                            <xsd:documentation>The container object Server is
    not explicitly modeled in the PWG Semantic Model</xsd:documentation>
                    </xsd:annotation>
                    <xsd:sequence>
                            <xsd:element name="Printer" maxOccurs="unbounded">
                                    <xsd:complexType>
                                            <xsd:complexContent>
                                                    <xsd:extension
    base="Printer">
                                                            <xsd:sequence>
                                                                    <xsd:element
    name="Job" minOccurs="0" maxOccurs="unbounded">
            
    <xsd:complexType>
            
    <xsd:complexContent>
            
    <xsd:extension base="Job">
            
    <xsd:sequence>
            
    <xsd:element name="Document" type="Document" minOccurs="0"
    maxOccurs="unbounded"/>
            
    </xsd:sequence>
            
    </xsd:extension>
            
    </xsd:complexContent>
            
    </xsd:complexType>
            
    </xsd:element>
                                                            </xsd:sequence>
                                                    </xsd:extension>
                                            </xsd:complexContent>
                                    </xsd:complexType>
                            </xsd:element>
                            <xsd:any namespace="##any" minOccurs="0"
    maxOccurs="unbounded"/>
                    </xsd:sequence>
            </xsd:complexType>

    The proposal is to replace the incorrect definition in PwgSemanticModel.xsd
    with the correct one. I will bump the minor version number of the schema
    file.

    Please send out a note to the mailing list if you have any objections to
    this change.

    Pete

                                    Peter Zehler
                                    XEROX
                                    Xerox Innovation Group
                                    Email: PZehler@crt.xerox.com
                                    Voice: (585) 265-8755
                                    FAX: (585) 422-7961
                                    US Mail: Peter Zehler
                                                  Xerox Corp.
                                                  800 Phillips Rd.
                                                  M/S 128-25E
                                                  Webster NY, 14580-9701



    This archive was generated by hypermail 2b29 : Thu Jun 03 2004 - 15:05:24 EDT