XSD: cvc-elt.1.a: не удается найти объявление элемента 'ns: RequestGKN' - PullRequest
0 голосов
/ 15 февраля 2019

Я пытаюсь проверить xml с помощью xsd и получить ошибку: cvc-elt.1.a: Не удается найти объявление элемента 'RequestGKN'

<ns:RequestGKN NameSoftware="test" VersionSoftware="1.0.0" GUID="12354678-1234-1234-1234-123456789112"
               xmlns:ns="urn://x-artefacts-rosreestr-gov-ru/requests/gkn/4.0.5"
               xmlns:ns1="urn://x-artefacts-rosreestr-ru/commons/complex-types/general-gkn/3.1.2"
               xmlns:ns2="urn://x-artefacts-smev-gov-ru/supplementary/commons/1.0.1"
               xmlns:ns3="urn://x-artefacts-rosreestr-ru/commons/complex-types/person/5.0.2"
               xmlns:ns4="urn://x-artefacts-rosreestr-ru/commons/complex-types/address-input/6.0.1"
               xmlns:ns5="urn://x-artefacts-rosreestr-ru/commons/complex-types/document/6.0.2"
               xmlns:ns6="urn://x-artefacts-rosreestr-ru/commons/complex-types/quantity/1.0.1"
               xmlns:ns7="urn://x-artefacts-rosreestr-ru/commons/complex-types/organization/4.0.1"
               xmlns:ns8="urn://x-artefacts-rosreestr-ru/commons/complex-types/governance/5.0.1"
               xmlns:ns9="urn://x-artefacts-rosreestr-ru/commons/complex-types/foreign-organization/3.0.1"
               xmlns:ns10="urn://x-artefacts-rosreestr-ru/commons/complex-types/delivery/1.1.1"
               xmlns:ns11="urn://x-artefacts-rosreestr-ru/commons/complex-types/pay-document/2.0.2"
               xmlns:ns12="urn://x-artefacts-rosreestr-ru/commons/complex-types/municipal-service/2.0.1">
    <ns:Title>
        <ns:RecipientName>

, а вот моя схема xsd:

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:Simple1="urn://x-artefacts-rosreestr-ru/commons/simple-types/1.0"
           xmlns:dAg1="urn://x-artefacts-rosreestr-ru/commons/directories/agent-kind/1.0.1"
           xmlns:dRe1="urn://x-artefacts-rosreestr-ru/commons/directories/realty/1.0.1"
           xmlns:Org1="urn://x-artefacts-rosreestr-ru/commons/complex-types/organization/1.0.1"
           xmlns:Dec1="urn://x-artefacts-rosreestr-ru/commons/directories/declarant-kind/1.0.1"
           xmlns:tns="urn://x-artefacts-smev-gov-ru/supplementary/commons/1.0.1"
           xmlns:Qua1="urn://x-artefacts-rosreestr-ru/commons/complex-types/quantity/1.0.1"
           xmlns:Mun2="urn://x-artefacts-rosreestr-ru/commons/complex-types/municipal-service/2.0.1"
           xmlns:Simple2="urn://x-artefacts-rosreestr-ru/commons/simple-types/2.0.1"
           xmlns:dAdd1="urn://x-artefacts-rosreestr-ru/commons/directories/addressee/1.0.1"
           xmlns:Con1="urn://x-artefacts-rosreestr-ru/commons/complex-types/consent/1.0.1"
           xmlns:Simple3="urn://x-artefacts-rosreestr-ru/commons/simple-types/3.0.2"
           xmlns:dRe2="urn://x-artefacts-rosreestr-ru/commons/directories/realty/2.0.1"
           xmlns:Simple4="urn://x-artefacts-rosreestr-ru/commons/simple-types/4.1.1"
           xmlns:Simple8="urn://x-artefacts-rosreestr-ru/commons/simple-types/8.0.1"
           xmlns:dAl3="urn://x-artefacts-rosreestr-ru/commons/directories/all-documents/3.0.2"
           xmlns:adrInp6="urn://x-artefacts-rosreestr-ru/commons/complex-types/address-input/6.0.1"
           xmlns:Pay2="urn://x-artefacts-rosreestr-ru/commons/complex-types/pay-document/2.0.2"
           xmlns="urn://x-artefacts-rosreestr-gov-ru/requests/gkn/4.0.5"
           xmlns:GKN3="urn://x-artefacts-rosreestr-ru/commons/complex-types/general-gkn/3.1.2"
           targetNamespace="urn://x-artefacts-rosreestr-gov-ru/requests/gkn/4.0.5" elementFormDefault="qualified"
           xmlns:Del1="urn://x-artefacts-rosreestr-ru/commons/complex-types/delivery/1.1.1">

Что я делаю не так?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...