Files
cc-1c-skills/tests/skills/cases/xdto-compile/snapshots/format-221/annotations.xsd
T
Nick ShirokovandClaude Opus 5 6315a706b5 test: кейсы формата 2.21 для навыков-эмиттеров
Фикстура 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>
2026-08-06 21:56:26 +03:00

29 lines
1.2 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<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>