mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-09-04 17:20:52 +03:00
Конфигуратор не пишет перевод строки в конце файла — последний байт `>`. Это видно на чистой выгрузке пустой ИБ (Windows и macOS) и на всех 8 выгрузках в cfsrc. Наши эмиттеры добавляли лишний, причём оба порта и по разным причинам: - PS: StringBuilder.AppendLine дописывает Environment.NewLine после последней строки; - PY: '\n'.join(lines) + '\n' — хвост добавлен явно. В meta-compile заведена единая точка записи Write-XmlFile: там документ собирают и AppendLine, и явные `n в билдерах Predefined/Content/Flowchart, а выходов семь. В остальных обрезка стоит в самом вызове записи. Модули .bsl, JSON-выход form-compile, HTML-справка help-add и XSD из xdto-decompile сюда НЕ входят: канон Конфигуратора описывает XML метаданных, а у этих артефактов свои правила. Результаты XmlDocument.Save тоже не трогаются — у них хвоста нет. Навыки редактирования продолжают сохранять стиль ВХОДНОГО файла: кейс subsystem-edit/roundtrip-crlf-preserve, где фикстура намеренно с хвостом, остаётся зелёным. Это контракт #44/#46/#47, и он не отменяется. Дрейф снэпшотов: 547 файлов, у каждого только последняя строка, содержательных изменений ноль. Тесты 641/641. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
82 lines
3.8 KiB
XML
82 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.17">
|
|
<Document uuid="UUID-001">
|
|
<InternalInfo>
|
|
<xr:GeneratedType name="DocumentObject.Заказ" category="Object">
|
|
<xr:TypeId>UUID-002</xr:TypeId>
|
|
<xr:ValueId>UUID-003</xr:ValueId>
|
|
</xr:GeneratedType>
|
|
<xr:GeneratedType name="DocumentRef.Заказ" category="Ref">
|
|
<xr:TypeId>UUID-004</xr:TypeId>
|
|
<xr:ValueId>UUID-005</xr:ValueId>
|
|
</xr:GeneratedType>
|
|
<xr:GeneratedType name="DocumentSelection.Заказ" category="Selection">
|
|
<xr:TypeId>UUID-006</xr:TypeId>
|
|
<xr:ValueId>UUID-007</xr:ValueId>
|
|
</xr:GeneratedType>
|
|
<xr:GeneratedType name="DocumentList.Заказ" category="List">
|
|
<xr:TypeId>UUID-008</xr:TypeId>
|
|
<xr:ValueId>UUID-009</xr:ValueId>
|
|
</xr:GeneratedType>
|
|
<xr:GeneratedType name="DocumentManager.Заказ" category="Manager">
|
|
<xr:TypeId>UUID-010</xr:TypeId>
|
|
<xr:ValueId>UUID-011</xr:ValueId>
|
|
</xr:GeneratedType>
|
|
</InternalInfo>
|
|
<Properties>
|
|
<Name>Заказ</Name>
|
|
<Synonym>
|
|
<v8:item>
|
|
<v8:lang>ru</v8:lang>
|
|
<v8:content>Заказ</v8:content>
|
|
</v8:item>
|
|
</Synonym>
|
|
<Comment/>
|
|
<UseStandardCommands>true</UseStandardCommands>
|
|
<Numerator/>
|
|
<NumberType>String</NumberType>
|
|
<NumberLength>11</NumberLength>
|
|
<NumberAllowedLength>Variable</NumberAllowedLength>
|
|
<NumberPeriodicity>Year</NumberPeriodicity>
|
|
<CheckUnique>true</CheckUnique>
|
|
<Autonumbering>true</Autonumbering>
|
|
<Characteristics/>
|
|
<BasedOn/>
|
|
<InputByString>
|
|
<xr:Field>Document.Заказ.StandardAttribute.Number</xr:Field>
|
|
</InputByString>
|
|
<CreateOnInput>Use</CreateOnInput>
|
|
<SearchStringModeOnInputByString>Begin</SearchStringModeOnInputByString>
|
|
<FullTextSearchOnInputByString>DontUse</FullTextSearchOnInputByString>
|
|
<ChoiceDataGetModeOnInputByString>Directly</ChoiceDataGetModeOnInputByString>
|
|
<DefaultObjectForm/>
|
|
<DefaultListForm/>
|
|
<DefaultChoiceForm/>
|
|
<AuxiliaryObjectForm/>
|
|
<AuxiliaryListForm/>
|
|
<AuxiliaryChoiceForm/>
|
|
<Posting>Allow</Posting>
|
|
<RealTimePosting>Deny</RealTimePosting>
|
|
<RegisterRecordsDeletion>AutoDelete</RegisterRecordsDeletion>
|
|
<RegisterRecordsWritingOnPost>WriteSelected</RegisterRecordsWritingOnPost>
|
|
<SequenceFilling>AutoFill</SequenceFilling>
|
|
<RegisterRecords/>
|
|
<PostInPrivilegedMode>true</PostInPrivilegedMode>
|
|
<UnpostInPrivilegedMode>true</UnpostInPrivilegedMode>
|
|
<IncludeHelpInContents>false</IncludeHelpInContents>
|
|
<DataLockFields/>
|
|
<DataLockControlMode>Managed</DataLockControlMode>
|
|
<FullTextSearch>Use</FullTextSearch>
|
|
<ObjectPresentation/>
|
|
<ExtendedObjectPresentation/>
|
|
<ListPresentation/>
|
|
<ExtendedListPresentation/>
|
|
<Explanation/>
|
|
<ChoiceHistoryOnInput>Auto</ChoiceHistoryOnInput>
|
|
<DataHistory>DontUse</DataHistory>
|
|
<UpdateDataHistoryImmediatelyAfterWrite>false</UpdateDataHistoryImmediatelyAfterWrite>
|
|
<ExecuteAfterWriteDataHistoryVersionProcessing>false</ExecuteAfterWriteDataHistoryVersionProcessing>
|
|
</Properties>
|
|
<ChildObjects/>
|
|
</Document>
|
|
</MetaDataObject> |