Element info doesn't contains documentation from xsd

SyntaxEditor Web Languages Add-on for Windows Forms Forum

Posted 17 years ago by Sergey Astachov
Version: 4.0.0261
Platform: .NET 2.0
Environment: Windows XP (32-bit)
Information which I can see for elements when place mouse over it doesn't contain information from documentation section of xsd. It happens for all elements except root.

To reproduce this problem open Xml Reflection Using an XSD(Web Languages Add-on Samle") from sample project for SyntaxEditor. And choose "Open Custom Schema". Open file with the following xsd:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://test.com" targetNamespace="http://test.com" elementFormDefault="qualified" attributeFormDefault="unqualified">
        <xs:element name="Element1">
                        <xs:documentation>Documentation 1</xs:documentation>
                                <xs:element ref="Element2"/>
        <xs:element name="Element2">
                        <xs:documentation>Documentation 2</xs:documentation>
Then try to enter following xml:

<Element1 xmlns="http://test.com">
Now if you'll plase mouse above the "Element1" you will see info with "Documentation 1" comment but for "Element2" this information is absent.

Thanks in advance,

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Thanks Sergey, it seemed to be due to the use of the 'ref'. The bug is now resolved for the next maintenance release.

Actipro Software Support

The latest build of this product (v24.1.0) was released 5 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.