Версия
v0.27.1 (VSC Language 1C (BSL) v1.32.1)
Описание ошибки диагностики
Падает на загрузке ролей с RLS в которых подряд идут два тега <field>...</field> или <restrictionByCondition>...</restrictionByCondition> что для RLS вполне нормальная ситуация
[Error - 17:44:07] [ERROR - 2026-01-14T14:43:58.679277400Z] [compute-configuration-30] [com.github._1c_syntax.bsl.reader.common.xstream.ExtendXStream]: Can't read file 'C:\Temp-\Roles\TestRole\Ext\Rights.xml' - it's broken (skipped)
Пример кода 1 (два поля подряд)
<?xml version="1.0" encoding="UTF-8"?> <Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.20"> <setForNewObjects>false</setForNewObjects> <setForAttributesByDefault>true</setForAttributesByDefault> <independentRightsOfChildObjects>false</independentRightsOfChildObjects> <object> <name>Document.ТестовыйДокумент</name> <right> <name>Read</name> <value>false</value> <restrictionByCondition> <field>Ref</field> <field>Контрагент</field> <condition>ГДЕ ИСТИНА</condition> </restrictionByCondition> </right> </object> </Rights>
Пример кода 2 (два RLS подряд)
<?xml version="1.0" encoding="UTF-8"?> <Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.20"> <setForNewObjects>false</setForNewObjects> <setForAttributesByDefault>true</setForAttributesByDefault> <independentRightsOfChildObjects>false</independentRightsOfChildObjects> <object> <name>Document.ТестовыйДокумент</name> <right> <name>Read</name> <value>true</value> <restrictionByCondition> <condition>ГДЕ ИСТИНА</condition> </restrictionByCondition> <restrictionByCondition> <field>Ref</field> <condition>ГДЕ ИСТИНА</condition> </restrictionByCondition> </right> </object> </Rights>
Дополнительная информация
XML сгенерированы из 1С версии 8.3.27.1786
Версия
v0.27.1 (VSC Language 1C (BSL) v1.32.1)
Описание ошибки диагностики
Падает на загрузке ролей с RLS в которых подряд идут два тега
<field>...</field>или<restrictionByCondition>...</restrictionByCondition>что для RLS вполне нормальная ситуация[Error - 17:44:07] [ERROR - 2026-01-14T14:43:58.679277400Z] [compute-configuration-30] [com.github._1c_syntax.bsl.reader.common.xstream.ExtendXStream]: Can't read file 'C:\Temp-\Roles\TestRole\Ext\Rights.xml' - it's broken (skipped)
Пример кода 1 (два поля подряд)
<?xml version="1.0" encoding="UTF-8"?> <Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.20"> <setForNewObjects>false</setForNewObjects> <setForAttributesByDefault>true</setForAttributesByDefault> <independentRightsOfChildObjects>false</independentRightsOfChildObjects> <object> <name>Document.ТестовыйДокумент</name> <right> <name>Read</name> <value>false</value> <restrictionByCondition> <field>Ref</field> <field>Контрагент</field> <condition>ГДЕ ИСТИНА</condition> </restrictionByCondition> </right> </object> </Rights>Пример кода 2 (два RLS подряд)
<?xml version="1.0" encoding="UTF-8"?> <Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.20"> <setForNewObjects>false</setForNewObjects> <setForAttributesByDefault>true</setForAttributesByDefault> <independentRightsOfChildObjects>false</independentRightsOfChildObjects> <object> <name>Document.ТестовыйДокумент</name> <right> <name>Read</name> <value>true</value> <restrictionByCondition> <condition>ГДЕ ИСТИНА</condition> </restrictionByCondition> <restrictionByCondition> <field>Ref</field> <condition>ГДЕ ИСТИНА</condition> </restrictionByCondition> </right> </object> </Rights>Дополнительная информация
XML сгенерированы из 1С версии 8.3.27.1786