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:Then try to enter following xml:
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,
Sergey.
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:annotation>
<xs:documentation>Documentation 1</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="Element2"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Element2">
<xs:annotation>
<xs:documentation>Documentation 2</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>
<Element1 xmlns="http://test.com">
<Element2></Element2>
</Element1>
Thanks in advance,
Sergey.