mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-16 16:29:01 +03:00
Фикстура empty-config-221 (cf-init -FormatVersion 2.21) и по кейсу на навык: cf-init, meta-compile, meta-edit, form-add, form-compile, template-add, mxl-compile, subsystem-compile, subsystem-edit, role-compile, xdto-compile, cfe-init, cfe-borrow, epf-init, erf-init. Проверки через expect.fileContains по сырым байтам, а не только снэпшотом: позиция xmlns:pal (после lf, перед style) и его отсутствие там, где платформа его не пишет (Rights.xml роли, Ext/ClientApplicationInterface.xml). 663/663 ps1, 660/663 py. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
29 lines
1.2 KiB
XML
29 lines
1.2 KiB
XML
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||
xmlns:xdto="http://v8.1c.ru/8.1/xdto"
|
||
xmlns:tns="urn:test:annotations"
|
||
targetNamespace="urn:test:annotations">
|
||
<xs:annotation>
|
||
<xs:appinfo>
|
||
<xdto:package>
|
||
<xdto:name>ПакетСАннотациями</xdto:name>
|
||
<xdto:synonym lang="ru">Пакет с аннотациями</xdto:synonym>
|
||
<xdto:synonym lang="en">Annotated package</xdto:synonym>
|
||
<xdto:comment>Проверка xs:appinfo</xdto:comment>
|
||
</xdto:package>
|
||
</xs:appinfo>
|
||
</xs:annotation>
|
||
<xs:complexType name="Контакт" xdto:sequenced="true">
|
||
<xs:sequence>
|
||
<xs:element name="Комментарий" type="xs:string" minOccurs="0" xdto:form="Element"/>
|
||
<xs:element name="alpha-3" type="xs:string" xdto:name="alpha_3" minOccurs="0"/>
|
||
</xs:sequence>
|
||
<xs:attribute name="Представление" type="xs:string" xdto:nillable="true" xdto:lowerBound="0"/>
|
||
</xs:complexType>
|
||
<xs:complexType name="ЯвныйПорядок" xdto:order="Элемент|Атрибут">
|
||
<xs:sequence>
|
||
<xs:element name="Элемент" type="xs:string"/>
|
||
</xs:sequence>
|
||
<xs:attribute name="Атрибут" type="xs:string"/>
|
||
</xs:complexType>
|
||
</xs:schema>
|