xsd:all within xsd:group

I'd like to have <xsd:all> within <xsd:group>.
I.e. I want to achieve the following xml structures:
<top><A1/></top>  or <top><A2/></top>  or  <top><A1/><A2/></top>
or
<top><B1/></top>  or <top><B2/></top>  or  <top><B1/><B2/></top>
or
<top/>
but not
<top><A1/><B2/></top>
and not
<top><A2/><B1/></top>i.e. either elements of one group or the other, but no mixing of elements of the two groups.
Below is an extract of the schema that I am trying to apply.
I get the following error when validating:
"An 'all' model group must appear in a particle with {min occurs} = {max occurs} = 1, and that particle must be part of a pair which constitutes the {content type} of a complex type definition."
    <xsd:element name="top">
        <xsd:complexType>
           <xsd:choice>
                <xsd:group ref="groupA" minOccurs="0" maxOccurs="1"/>
                <xsd:group ref="groupB" minOccurs="0" maxOccurs="1"/>
           </xsd:choice>
        </xsd:complexType>
     </xsd:>
         <xsd:group name="groupA">
              <xsd:all>
                     <xsd: ref="A1" minOccurs="0" maxOccurs="1"/>
                  <xsd: ref="A2" minOccurs="0" maxOccurs="1"/>
             </xsd:all>
         </xsd:group>
         <xsd:group name="groupB">
              <xsd:all>
                     <xsd: ref="B1" minOccurs="0" maxOccurs="1"/>
                  <xsd: ref="B2" minOccurs="0" maxOccurs="1"/>
              </xsd:all>
         </xsd:group>...
Unfortunately, due to existing data structures, I cannot replace the "group" by "element".
Thanks for any suggestions!

In your query order the results exactly how you want them
grouped
<cfquery ...>
SELECT .... FROM ....
ORDER BY make, model, derivative
</cfquery>
Then structure your cfoutput "groups" in the same order

Similar Messages

  • Webservice control generation failled with xsd:all in WSDL, why ?

    Hi,
    When I try to generate a WS-control out of a WSDL with a
    <xsd:all> based type e.g. :
    <xsd:complexType name="RemoteComment">
                        <xsd:all>
                             <xsd:element name="id" type="xsd:long"/>
                             <xsd:element name="pageId" type="xsd:long"/>
                             <xsd:element name="created" type="xsd:dateTime"/>
                             <xsd:element name="title" nillable="true" type="xsd:string"/>
                             <xsd:element name="url" nillable="true" type="xsd:string"/>
                             <xsd:element name="creator" nillable="true" type="xsd:string"/>
                             <xsd:element name="content" nillable="true" type="xsd:string"/>
                        </xsd:all>
                   </xsd:complexType>
    (for example Atlassion Conluence's SOAP interface uses this)
    I get a ERROR: sites/javapolis/xmlrpc/confluenceservicev1.wsdl Line 3, Col 0: Error in WSDL: Cannot extend a type with 'all' content model
    Any ideas anyone ?

    dieterd,
    Try with xsd:sequence intead of xsd:all ?

  • Can you suggest a group messaging app where recipients can't see all the phone numbers within the group?

    Can you suggest a group messaging app where recipients can't see all the phone numbers within the group?  My friends are complaining that they can see all the people in the group; also when I get a response from some in the group, it comes to me ane many others in the goup - its like they've replied all. 
    Any help would be appreciated.
    iPhone 4; iOS5

    Sorry it hasn't worked out for you. I threw together a simple project that uses rectangles to represent your Bike and wheel groups. They all animate across the canvas in the bike group and the wheels rotate. I have attached screen shots so you can see how they are constructed.
    This image showsthe bike group where the orange rectangle and green circle represent the frame. The white rectangles represent wheels and the green and red rectangles I threw in to represent a wheel that has multiple objects in its group as your wheels do.
    Here the animation across the screen has started and notice all wheels rotating and staying with the frame.
    Again a little further down the timeline.
    I put this one in so you could see the group bounding box around the red and green wheel Good luck with your restart on this project and I hope these screen shots are helpful.

  • How to delete a path item from within a group item?

    I am generating and downloading QR codes in vector format (.eps).  I use VB scripting to place each QR code into an Illustrator document for later laser etching as a batch.  Each QR code is comprised of a bunch of small, individual filled squares all enclosed in a single large transparent square.  Here's a sample of one of the QR codes: http://laserfolly.com/2753.eps  When etching, the laser control software interprets the outside bounding square in such a way that it confuses its "inside out" algorithm used to determine whether a given path item should be etched, i.e., is it "filled".  This causes the some of the individual squares to be interpreted as not filled... even though they are.  If I delete the outer bounding square path item then all is well.  But there are hundreds of these codes in every batch... so it is time prohibitive to delete those outer squares by hand.  Here's my ask: does anyone know how to use Illustrator scripting (I'm using VB) to identify that outer square and delete it at the time that it's placed in the batch document?
    Thanks in advance for any help you can give.
    Bob

    Thanks, Mark.  That makes sense.  However, when I search all the paths in the document there are none that have a true clipping property.  My suspicion is that the bounding square is just that, a square drawn by the qr code api as a frame around the code.  You got me thinking though.  I figured out that I can identify the relevant path simply by it's dimensions and then delete it.  So here's the new sticking point: I don't think the Illustrator object model allows for interrogating path items within a group, i.e., you have to iterate through all the pathitems in the document.  Ideailly, I'd like to be able to look at only the paths within the QR code, which I add to the document as a placed item... which Illustrator treats as a group.  This document has tens of thousands of paths and so looping through all of the them to find the 50 QR codes would be super inefficient.  What do you think?  Is there a way to iterate through just the paths in a placeditem/group?
    RE VB vs. JS, I can write in both but there are a lot of reasons I'm using VB on this project.  The main reasons are that the customer is using Excel for data internally and Excel VBA is a really strong VBA object model.  I've also written more than 500,000 lines of the stuff in my career so I'm pretty comfortable solving complex problems with it.  Also, the IDE and the run-time debugging engine is oh so great for rooting out the nasties.  :-)

  • Problem in mapping with xsd:restriction and xsd:enumeration

    Hello All,
    Our BPEL process is invoked from a .net client and has a JCA adapter as target. We need to map the input schema to JCA schema and the output should look like the following:
    Listing 1:
    <callMethod name='F4211FSBeginDoc' app='XMLInterop'
    runOnError='no'>
    <params>
    <param name='mnCMJobNumber' id='1'></param>
    <param name='cCMDocAction'>A</param>
    <param name='cCMProcessEdits'>1</param>
    <param name='szCMComputerID' idref='2'></param>
    <param name='cCMUpdateWriteToWF'>2</param>
    <param name='szCMProgramID'>XMLInterop</param>
    <param name='szCMVersion'>ZJDE0001</param>
    <param name='szOrderType'>SO</param>
    <param name='szBusinessUnit'> M30</param>
    <param name='mnAddressNumber'>4242</param>
    <param name='jdOrderDate'>2000/03/29</param>
    <param name='szReference'>10261</param>
    <param name='cApplyFreightYN'>Y</param>
    <param name='szCurrencyCode'></param>
    <param name='cWKSourceOfData'></param>
    <param name='cWKProcMode'></param>
    <param name='mnWKSuppressProcess'>0</param>
    </params>
    We have our JCA schema as follows:
    Listing 2:
    <types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="urn:iwaysoftware:jde/services/JDEJAVA_CSALES/B4200310/F4211FSBeginDoc"
    xmlns:ns="urn:iwaysoftware:jde/services/JDEJAVA_CSALES/B4200310/F4211FSBeginDoc" elementFormDefault="qualified">
    <xsd:element name="jdeRequest">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="callMethod">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="params">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="param" minOccurs="0" maxOccurs="112">
    <xsd:complexType>
    <xsd:simpleContent>
    <xsd:extension base="xsd:string">
    <xsd:attribute name="name" use="required">
    <xsd:simpleType>
    <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="mnCMJobNumber"/>
    <xsd:enumeration value="cCMDocAction"/>
    <xsd:enumeration value="cCMProcessEdits"/>
    <xsd:enumeration value="szCMComputerID"/>
    <xsd:enumeration value="cCMErrorConditions"/>
    <xsd:enumeration value="cCMUpdateWriteToWF"/>
    <xsd:enumeration value="szCMProgramID"/>
    <xsd:enumeration value="szCMVersion"/>
    <xsd:enumeration value="szOrderCo"/>
    <xsd:enumeration value="mnOrderNo"/>
    <xsd:enumeration value="szOrderType"/>
    <xsd:enumeration value="szBusinessUnit"/>
    <xsd:enumeration value="szOriginalOrderCo"/>
    <xsd:enumeration value="szOriginalOrderNo"/>
    <xsd:enumeration value="szOriginalOrderType"/>
    <xsd:enumeration value="mnAddressNumber"/>
    <xsd:enumeration value="mnShipToNo"/>
    <xsd:enumeration value="jdRequestedDate"/>
    <xsd:enumeration value="jdOrderDate"/>
    <xsd:enumeration value="jdPromisedDate"/>
    <xsd:enumeration value="jdCancelDate"/>
    <xsd:enumeration value="szReference"/>
    <xsd:enumeration value="szDeliveryInstructions1"/>
    <xsd:enumeration value="szDeliveryInstructions2"/>
    <xsd:enumeration value="szPrintMesg"/>
    <xsd:enumeration value="szPaymentTerm"/>
    <xsd:enumeration value="cPaymentInstrument"/>
    <xsd:enumeration value="szAdjustmentSchedule"/>
    <xsd:enumeration value="mnTradeDiscount"/>
    <xsd:enumeration value="szTaxExplanationCode"/>
    <xsd:enumeration value="szTaxArea"/>
    <xsd:enumeration value="szCertificate"/>
    <xsd:enumeration value="cAssociatedText"/>
    <xsd:enumeration value="szHoldOrdersCode"/>
    <xsd:enumeration value="cPricePickListYN"/>
    <xsd:enumeration value="mnInvoiceCopies"/>
    <xsd:enumeration value="mnBuyerNumber"/>
    <xsd:enumeration value="mnCarrier"/>
    We are not able to create a valid structure from the above schema. Our output variable looks like
    Listing 3:
    ns5:jdeRequest
         type
         session
         sessionidle
         ns5:callMethod()
              name
              app
              runOnError
              returnNullData
              trans
              ns5:params
                   ns5:param
                        name
    No variables are displayed under the 'name' tag.
    How can we map the input elements to Listing 2 and produce Listing 1? This is a bit urgent requirement for our client and any help will be greatly appreciated.

    Hi,
    With reference to your question.
    Can any operator perform this task..I don't think any single operator will help you.
    I suggest using an intermediate (staging) table by using a PL SQL procedure with output port to store the values of account number provided the number of accounts are limited. Else use an array variable for account of an employee.
    In short no simple solution because of the bad source design else the pivot/unpivot operator would have helped you.
    Cheers
    - Mohammed

  • Cost distribution within the group companies

    Hi Experts ,
    Need your thoughts on what would be the best approach for the scenario explained below :
    We have a parent company and three other companies within the group. In total 4 company codes. There are some expenses which are booked under parent company and should be later (at month end ) to be distributed at fixed % to the other 3 companies within the group as during the time of entry it is not feasible to separate the transaction at co code level or is time consuming activity. In what way we can distribute such cost and ensure it reflects in FI reporting  also so that P&L shows correct distributed values. Also there are some assets which are commonly shared by all the assets so the depreciation also needs to be shared with the companies in the group. ECC 6.0 being implemented . I tried using distribution but is not giving desired result.
    Thanks
    Sunil

    Hi Sunil Mane,
    What cost objects distribution between different company codes?
    T-CODE:OKKP  Have you selected cross-company-code cost accounting? I think this is a preconditon of cost distribution  between different company codes.
    BR

  • How do you select individual items from within a group?

    Hi, All.
    New poster. Forgive me if I miss any forum etiquette.
    Currently using Indesing CS6 on Mac Osx 10.7.4
    I'm a relatively recent convert to Indesign from Quark, and one thing I seem to have continual problems with is selecting individual items from within a group.
    For example I will have a grouped item, such as price marker that is comprised of several individual items, some text boxes, some rectangles.
    I find there is no way to select a rectangle that is currently placed behind a transparent text box without ungrouping the entire item - which isn't really an option.
    The select options (slect next item below etc. just don't work)
    For any Quark users out there, the equivalent command I'm looking for is the cmd+opt+shift click through, which just worked absolutely perfectly.
    I have scoured the internet and forums looking for an answer for this, as I assumed it must be my own lack of knowledge, but I can't find an answer.
    Any help much appreciated.
    Thanks

    Hi, winterm.
    Thanks for the super quick repsonse. Unfortunately that hasn't seemed to have helped me.
    That works fine as long as the grouped items are overlapping or apart, but not when items are entirely behind another item (ie, no part protruding from the group)
    The problem is that if I double click to try and get through a text box to an item that is entirely behind it, then it just switches into text edit mode for the top text box.
    If it helps, could you imagine a transparent text box that is 20x20 with red rectangle centred beneath it that is 10x10. If the 2 items are grouped I cant find any way to select through to the red rectangle without first ungrouping the two.
    Am I going mad?

  • ORA-19007: Schema - does not match expected T0090.xsd for non xsd owner

    I have registered an xsd in /home/divload/xsd/T0090.xsd. User "prmt" is the owner of this resource. User prmt can schemavalidate xml against this xsd just as it is now. However, I have package code in "prmt_app" user account that will actually do the schemavalidate - not prmt user. When I run the exact same code using the exact same xml with the T0090.xsd above I am getting ORA-19007: Schema - does not match expected T0090.xsd. prmt_app has "all" privs on "/home", "/home/divload", "/home/divload/xsd", and "/home/divload/xsd/T0090.xsd". What am I missing?
    XSD header info
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb">
         <xs:element name="T0090" xdb:defaultTable="T0090">
    ...XML header info
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <T0090 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="T0090.xsd">
    <PERMIT>
    ...The error occurs when I am inserting into this table off disk..
    create table prmt.cview_xml (filename varchar2(256), xmldoc xmltype) xmltype xmldoc xmlschema "T0090.xsd" element "T0090";
    Edited by: Mark Reichman on Jun 28, 2010 2:42 PM

    I did all that before posting the orignial post..
    declare
      v_schema_exists varchar2(1) := 'N';
      res             boolean;
      schemaURL       varchar2(100) := 'T0090.xsd';
      schemaPath      varchar2(100) :=  '/prmt/xsd/T0090.xsd'; --'/public/T0090.xsd';
      xmlSchema xmlType := XMLTYPE(bfilename('DIR_PRMT_OUT_CVIEW','T0090.xsd'),NLS_CHARSET_ID('AL32UTF8'));
    begin
      begin
        select 'Y'
          into v_schema_exists
          from sys.all_xml_schemas  -- changed from user_xml_schemas
         where schema_url = schemaURL;
        dbms_xmlSchema.deleteSchema(schemaURL,4);
        exception
          when NO_DATA_FOUND then
            null;
      end;
      if (dbms_xdb.existsResource(schemaPath)) then
        dbms_xdb.deleteResource(schemaPath);
      end if;
      res := dbms_xdb.createResource(schemaPath,xmlSchema);   
      dbms_xmlschema.registerSchema ( schemaURL, xdbURIType(schemaPath).getClob(), TRUE, TRUE, FALSE, TRUE );
    end;
    / I guess my understanding was that I could grant another oracle user access to my registered schema just like I can grant a single user access to a table. Evidently I only have two options. Only the schema owner can use the schema or everyone can use the schema and I cannot grant access to a single user other than myself.
    Edited by: Mark Reichman on Jul 2, 2010 9:08 AM
    Edited by: Mark Reichman on Jul 2, 2010 9:09 AM

  • Importing XSD into another XSD

    Hi All,
    Is it possible to import one XSD into another XSD. I want to have all the elements like odsCadEvent, odsCadAgency, odsCadUnit defined in separate XSD and imported into the master.xsd. This way I don't have the data defintions in the master.xsd
    My sample XSD let's say (master.xsd) is big and will grow further.
    <xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/ortdOdsCadEvent" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/ortdOdsCadEvent"
    elementFormDefault="qualified" attributeFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="odsCad" type="odsCadCollection"/>
    <xs:complexType name="odsCadCollection">
    <xs:choice>
    <xs:element name="odsCadEvent" type="odsCadEvent" minOccurs="0" maxOccurs="1"/>
    <xs:element name="odsCadAgency" type="odsCadAgency" minOccurs="0" maxOccurs="1"/>
    <xs:element name="odsCadUnit" type="odsCadUnit" minOccurs="0" maxOccurs="1"/>
    </xs:choice>
    </xs:complexType>
    <xs:complexType name="odsCadEvent">
    <xs:sequence>
    <xs:element name="datasetname" minOccurs="1" maxOccurs="1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="32"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="messagesequence" type="xs:decimal" minOccurs="1" maxOccurs="1"/>
    <xs:element name="eventid" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="eventrevisionno" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="createdatetimestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="callsourceofevent" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="8"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="callername" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="50"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="streetaddresscaller" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="80"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="currentrecord" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventappartmentno" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="14"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventareaoflocation" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="40"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventcommonplacename" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="80"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventdirectionalprefix" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventdirectionalsuffix" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventstreetname" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="240"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventstreettype" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventsuburb" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="40"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventstreetno" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="11"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="locationcomment" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="locationinterestsearch" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="patientname" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="45"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="updatedatatimestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="xcordofevent" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="crossstreetname1" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="60"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="crossstreetname2" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="60"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ycordofevent" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="directorymelway" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="11"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="directoryvicroads" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="11"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="communicationdifficulty" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="20"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="destcommonplacename" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="80"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="callerphonenumber" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="25"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="autokey" type="xs:decimal" minOccurs="0" nillable="true"/>
    <xs:element name="transstartdatetime" type="xs:dateTime" minOccurs="0" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="odsCadAgency">
    <xs:sequence>
    <xs:element name="datasetname" minOccurs="1" maxOccurs="1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="32"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="messagesequence" type="xs:decimal" minOccurs="1" maxOccurs="1"/>
    <xs:element name="eventid" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="eventrevisionno" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="agencyeventnumber" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="12"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="agencyeventnumberrevision" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="agencyid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="9"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="createdatetimestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="alarmlevelofevent" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="datetimefirstunitarrived" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="numberunitonevent" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="currentrecord" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="scheduleeventdestinationeid" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="dispatchgroup" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="5"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="dispatchedtimestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="eventstatus" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="datetimestampheldagreedrespons" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="heldeventtypecode" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="heldunitid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="10"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="polygonareacode2" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="6"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="polygonareacode3" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="7"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="polygonareacode4" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="5"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="polygonareacode5" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="5"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="openandcurrent" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="datetimestamppendingevent" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="employeeidprimmember" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="primaryunitid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="10"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="priority" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="datetimestampstatuschange" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="datetimestampeventcreated" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="datetimestamptransportarrived" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="datetimestamptransport" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="updatedatatimestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="datetimestampclose" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="terminalwhocloseevent" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="15"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="reopened" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventcodesubcode" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="16"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventcode" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="16"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventcodedescription" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="80"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="timeeventaddedtosystem" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="16"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="autokey" type="xs:decimal" minOccurs="0" nillable="true"/>
    <xs:element name="transstartdatetime" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="psychCategory" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="psychUrgency" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="beginDataEntry" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="eventCreationTime" type="xs:dateTime" minOccurs="0" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="odsCadUnit">
    <xs:sequence>
    <xs:element name="datasetname" minOccurs="1" maxOccurs="1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="32"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="messagesequence" type="xs:decimal" minOccurs="1" maxOccurs="1"/>
    <xs:element name="eventid" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="eventrevisionno" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="agencyeventnumber" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="12"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="agencyeventnumberrevision" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="agencyid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="9"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="unitid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="10"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="carid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="6"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="unitstatus" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="createdatetimestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="dispatchgroup" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="5"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="xcordlastposition" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="ycordlastposition" type="xs:int" minOccurs="0" nillable="true"/>
    <xs:element name="location" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="240"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="mdtunitid" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="24"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventcodesubcode" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="16"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="eventcode" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="16"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="unithistorycomment" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="200"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="datetimeupdatestamp" type="xs:dateTime" minOccurs="0" nillable="true"/>
    <xs:element name="autokey" type="xs:decimal" minOccurs="0" nillable="true"/>
    <xs:element name="transstartdatetime" type="xs:dateTime" minOccurs="0" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    Thanks

    It is possible. I have used import in wsdl for clean definition. The same should apply to XSD also.
    http://www.xfront.com/HideVersusExpose.html should be helpful in understanding the design aspects.
    Eg.
    <wsdl:definitions name="testAdapter" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/JCADBTest/Project1/testAdapter" xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/JCADBTest/Project1/testAdapter" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/testAdapter">
    <plt:partnerLinkType name="testAdapter_plt">
    <plt:role name="testAdapter_role">
    <plt:portType name="tns:testAdapter_ptt"/>
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/testAdapter" schemaLocation="xsd/testAdapter_table.xsd"/>
    </schema>
    </wsdl:types>
    Manoj
    Edited by: Manoj Neelapu on Apr 16, 2010 8:32 AM

  • Any One has worked/used pstc_spmlv2_core.xsd or DSMLv2.xsd ??

    Hello,
    Any One has experienced with pstc_spmlv2_core.xsd or DSMLv2.xsd ??
    Edited by: user11180835 on Aug 23, 2011 4:05 AM

    While I am giving input as to this BPEL
    *<data>*
    *<attr xmlns:psml='urn:oasis:names:tc:PSML:2:0:core' name='ABC'>*
    *<value>a</value>*
    *</attr>*
    *</data>*
    This is the source code below that I am using.. We can easily download pstc_spmlv2_core.xsd and DSMLv2.xsd in google.
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="BPELProcess3"
    targetNamespace="http://xmlns.oracle.com/BPELProcess3"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns1="urn:oasis:names:tc:SPML:2:0"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:client="http://xmlns.oracle.com/BPELProcess3"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:BPELProcess3"
    myRole="BPELProcess3Provider"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable"
    messageType="client:BPELProcess3RequestMessage"/>
    <!-- Reference to the message that will be returned to the requester-->
    <variable name="outputVariable"
    messageType="client:BPELProcess3ResponseMessage"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in BPELProcess3.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:BPELProcess3" operation="process"
    variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    *<assign name="Assign_1">*
    *<copy>*
    *<from variable="inputVariable" part="payload"*
    *query="/ns1:addRequest/ns1:data/attr[@name='ABC']/value "/>*
    *<to variable="outputVariable" part="payload"*
    *query="/ns1:addResponse/@status"/>*
    *</copy>*
    *</assign>*
    <reply name="replyOutput" partnerLink="client"
    portType="client:BPELProcess3" operation="process"
    variable="outputVariable"/>
    </sequence>
    </process>
    Edited by: user11180835 on Aug 28, 2011 6:01 PM

  • IPhone not showing all replies to group messages

    In the last month my iPhone 5 has stopped showing all replies to group messages.
    For example a friend shall send a group message to another friend and I, I shall either  not see this message but see another friends reply in a text message that appears to be between the two of us. Or see the group message as an individual conversation between two people with no replies from other parties.
    I am currently running iOS 7.1.1
    Can anyone help me?

    did you ever fix this issue?? Same thing happening to me as well.

  • Page break within a group(s)

    I have a report that uses a group that contains three parts, a details part, a blank lines part, and a totals part.
    What I am attempting to achieve, is to produce the report so that there are page breaks within this group. The page breaks should happen after each part.
    I have been able to achieve the desired look by adding a group for each part, with an additional 'blank' group to provide a page break between the Details Part and the remaining 2 parts. 
    This, however has left me with 3 issues;
    Throughout the report, there will be pages with only the heading and no details.
    There are pages that show 2 headings (one for the ending detail group and the other is for successive detail group)
    How to remove the headings for the blank lines part and totals part (which is now on their own separate pages) 
    The major pain point for me is issue #3. Anyone able to offer suggestions with the amount of information provided?

    Hello,
    Based on your description, you have three part in one group. You have add page break between each part. You have mentioned that the heading will repeat in each page. You have set the tablix repeat headers on each page, right?
    Since you have blank line part in the group, when we add page break between each part, we will get a blank line page. When we have set the heading will repeat in each page, we would also have repeat page header in blank page.
    Now, what your requirement is not get the repeat header in the blank page and total page, right? Please refer to the following steps below:
    Cancel the headers repeat in each page configuration.
    Add a total row before of the detail group. Change these text box values with headers values.
    Please refer to the screenshot below:
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Why does itunes wipe out all my app groups?

    I'm running Windows XP, iTunes 10.4.1.10, iOS 4.3.5.
    After restoring my iPod to factory settings, then re-syncing the ipod with the data, music, & apps that was previosuly backed up,
    all of the groups I had created for the apps are gone.
    I now have to manually create those groups over again.
    Are others seeing this problem?

    What are you talking about?
    Please explain.

  • How to get all the Record Groups?

    in the form i had created a record group. let us say they are:
      RG_APPR_TYPE_CDE_LIST
      RG_DRV_APPR_TYPE_CDE_LIST
      RG_PROJ_MODE_CDE_LIST
      RG_DRV_PROJ_MODE_CDE_LIST
      RG_PROJ_STATUS_CDE_LIST
      RG_DRV_PROJ_STATUS_CDE_LIST
      RG_ORG_SUB_TYPE_CDE_LIST
      RG_DRV_ORG_SUB_TYPE_CDE_LIST
      RG_REGION_NUM_LIST
      RG_DRV_REGION_NUM_LISTwhen the form hits on the clear button it invoke the CLEAR_FORM. i want to get all the record groups dynmically so i won't have to explicitly call the
      Delete_Group('RG_APPR_TYPE_CDE_LIST');
      Delete_Group('RG_DRV_APPR_TYPE_CDE_LIST');
      Delete_Group('RG_PROJ_MODE_CDE_LIST');
      ...one by one. is there any other workaround? i appreciate any help on this. thanks.

    is there any other workaroundNo.

  • How do I fix? Outlook contacts are scrambled/missing and all my contact groups in Outlook have been deleted.

    After I installed iOS7 to my iPod 2 and signed up for iCloud, my Outlook contacts are scrambled/missing and all my contact groups in Outlook have been deleted.

    if you don't want your yahoo contacts, go to settings - mail - yahoo - then turn off the contacts

Maybe you are looking for

  • Black and white stripes?  Help!

    Hello! I confess I'm a PC user (with plans to get a Mac in the near future, if that redeems me). Therefore I'm not especially familiar with Mac and its operating system, and when a problem arises I'm pretty helpless. I work in a technology lab at my

  • Help with issues with Home Sharing/IOS5/iTunes 10.5

    Hello.  Was wondering if anyone else was having this problem.  Updated my iPad 1, Apple TV 2g, iTunes 10.5, and IOS5.  Turned on my Apple TV and Home Sharing is not working.  Rebooted EVERYTHING.  Still nada.  Entered 3 ports that Apple recommended o

  • After Effects CS5 Crashes on save dialog

    Hi folks, I'm new to the forum. I am having a big problem with After Effects CS5. After the program has been open for a while, when I try to save, the program freezes (the first few saves go okay, if not a little slowly). I cannot even close it with

  • .Mac Sync Notice

    I have to say with a great deal of frustration that in over a year my iSync hasn't worked totally on any of my computers. It's been one issue after another, calenders, contacts, bookmarks etc., etc. I've owned Macs since the original 128 and have nev

  • Hosted web site on 9iAS v2

    I am looking for document/information on how to set up hosted web site on 9iAS v2. Thanks for your help.