LLP Incorporation Schema error

We’re trying to submit the following XML to the test gateway:

    <?xml version="1.0" encoding="UTF-8" ?>
<GovTalkMessage xmlns="http://www.govtalk.gov.uk/CM/envelope" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:gt="http://www.govtalk.gov.uk/schemas/govtalk/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.govtalk.gov.uk/CM/envelope                 http://xmlgw.companieshouse.gov.uk/v1-0/schema/Egov_ch-v2-0.xsd">
    <EnvelopeVersion>1.0</EnvelopeVersion>
    <Header>
        <MessageDetails>
            <Class>CompanyIncorporation</Class>
            <Qualifier>request</Qualifier>
            <TransactionID>51</TransactionID>
            <GatewayTest>1</GatewayTest>
        </MessageDetails>
        <SenderDetails>
            ...
        </SenderDetails>
    </Header>
    <GovTalkDetails>
        <Keys/>
    </GovTalkDetails>
    <Body>
        <FormSubmission xmlns="http://xmlgw.companieshouse.gov.uk/Header" xmlns:bs="http://xmlgw.companieshouse.gov.uk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlgw.companieshouse.gov.uk/Header                     http://xmlgw.companieshouse.gov.uk/v2-1/schema/forms/FormSubmission-v2-6.xsd">
            <FormHeader>
                <CompanyName>ASDFASDF LTD</CompanyName>
                <PackageReference>0012</PackageReference>
                <Language>EN</Language>
                <FormIdentifier>CompanyIncorporation</FormIdentifier>
                <SubmissionNumber>000016</SubmissionNumber>
            </FormHeader>
            <DateSigned>2016-05-24</DateSigned>
            <Form>
                <CompanyIncorporation xmlns="http://xmlgw.companieshouse.gov.uk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlgw.companieshouse.gov.uk             http://xmlalpha.companieshouse.gov.uk/v1-0/schema/forms/CompanyIncorporation-v3-0-alpha3.xsd">
                    <CompanyType>LLP</CompanyType>
                    <CountryOfIncorporation>EW</CountryOfIncorporation>
                    <RegisteredOfficeAddress>
                        <Premise>Viglasska 88</Premise>
                        <Street>Wimbledon</Street>
                        <PostTown>London</PostTown>
                        <County>United Kingdom</County>
                        <Country>GB-ENG</Country>
                        <Postcode>SW19 7BZ</Postcode>
                    </RegisteredOfficeAddress>
                    <Appointment>
                        <ConsentToAct>true</ConsentToAct>
                        <Member>
                            <DesignatedInd>true</DesignatedInd>
                            <Person>
                                <Title>Mr</Title>
                                <Forename>forename</Forename>
                                <Surname>surname</Surname>
                                <ServiceAddress>
                                    <Address>
                                        <Premise>Building name</Premise>
                                        <Street>Street name</Street>
                                        <PostTown>Town name</PostTown>
                                        <OtherForeignCountry>Slovakia (Slovak Republic)</OtherForeignCountry>
                                        <Postcode>85107</Postcode>
                                    </Address>
                                </ServiceAddress>
                                <DOB>1978-05-24</DOB>
                                <CountryOfResidence>United Kingdom</CountryOfResidence>
                                <ResidentialAddress>
                                    <Address>
                                        <Premise>Residential building name</Premise>
                                        <Street>Residential street name</Street>
                                        <PostTown>Residential town name</PostTown>
                                        <OtherForeignCountry>Slovakia (Slovak Republic)</OtherForeignCountry>
                                        <Postcode>85107</Postcode>
                                    </Address>
                                    <SecureAddressInd>0</SecureAddressInd>
                                </ResidentialAddress>
                            </Person>
                        </Member>
                    </Appointment>
                    <Appointment>
                        <ConsentToAct>true</ConsentToAct>
                        <Member>
                            <DesignatedInd>true</DesignatedInd>
                            <Corporate>
                                <CorporateName>Korporatny LLP</CorporateName>
                                <Address>
                                    <Premise>Building name</Premise>
                                    <Street>Street name</Street>
                                    <PostTown>Town name</PostTown>
                                    <OtherForeignCountry>Slovakia (Slovak Republic)</OtherForeignCountry>
                                    <Postcode>85107</Postcode>
                                </Address>
                                <CompanyIdentification>
                                    <EEA>
                                        <PlaceRegistered>kantryregistered</PlaceRegistered>
                                        <RegistrationNumber>registrationnumber</RegistrationNumber>
                                    </EEA>
                                </CompanyIdentification>
                            </Corporate>
                        </Member>
                    </Appointment>
                    <PSCs>
                        <PSC>
                            <PSCNotification>
                                <Corporate>
                                    <CorporateName>Korporatny LLP</CorporateName>
                                    <Address>
                                        <Premise>Building name</Premise>
                                        <Street>Street name</Street>
                                        <PostTown>Town name</PostTown>
                                        <OtherForeignCountry>Slovakia (Slovak Republic)</OtherForeignCountry>
                                        <Postcode>12345</Postcode>
                                    </Address>
                                    <PSCCompanyIdentification>
                                        <LawGoverned>governinglaw3</LawGoverned>
                                        <LegalForm>legalform3</LegalForm>
                                    </PSCCompanyIdentification>
                                </Corporate>
                                <LLPNatureOfControls>
                                    <NatureOfControl>RIGHTTOSHARESURPLUSASSETS_75TO100PERCENT_AS_FIRM</NatureOfControl>
                                    <NatureOfControl>RIGHTTOAPPOINTANDREMOVEMEMBERS_AS_FIRM</NatureOfControl>
                                </LLPNatureOfControls>
                            </PSCNotification>
                        </PSC>
                    </PSCs>
                    <Authoriser>
                        <Member>
                            <Person>
                                <Forename>forename</Forename>
                                <Surname>surname</Surname>
                            </Person>
                            <Authentication>
                                <PersonalAttribute>BIRTOWN</PersonalAttribute>
                                <PersonalData>abc</PersonalData>
                            </Authentication>
                            <Authentication>
                                <PersonalAttribute>TEL</PersonalAttribute>
                                <PersonalData>123</PersonalData>
                            </Authentication>
                            <Authentication>
                                <PersonalAttribute>EYE</PersonalAttribute>
                                <PersonalData>abc</PersonalData>
                            </Authentication>
                        </Member>
                    </Authoriser>
                    <SameDay>0</SameDay>
                </CompanyIncorporation>
            </Form>
        </FormSubmission>
    </Body>
</GovTalkMessage>

And We’re getting the response:

<Error>
            <RaisedBy>CH_XML_Gateway</RaisedBy>
            <Number>100</Number>
            <Type>fatal</Type>
            <Text>XML failed schema validation: Invalid XML: Not enough elements to match content model : '((CompanyType,RegistersHeldOnPublicRecord,CountryOfIncorporation,RegisteredOfficeAddress,Articles,RestrictedArticles,Appointment,PSCs,StatementOfCapital,Subscribers,Guarantors,Authoriser,SameDay,SameName,NameAuthorisation,RejectReference,SICCodes),StateSingleMemberCompany)'  line 1 column 8670</Text>
            <Location></Location>
          </Error>

We can’t find what element is missing.
Is there a LLP incorporation XML example somewhere?

thanks

Hi

Try changing your schema to v3-0-alpha4

I just copied your xml and tried it with that schema and it has submitted ok.

Nigel Preece

1 Like