Page 1 of 1

Minor Eclipse Plugin Attribute Issue

Posted: Mon Nov 18, 2013 8:45 pm
by Jamil
I found a minor issue with the Eclipse plug-in. I think this should be fixed at the earliest opportunity, but it is by no means a pressing issue.

Here is how to reproduce:

Take the following schema:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="nodeA">
<xs:complexType>
<xs:sequence>
<xs:element ref="nodeB"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="nodeB">
<xs:complexType mixed="true">
<xs:attribute name="optionalAttribute" use="optional" type="xs:boolean"/>
</xs:complexType>
</xs:element>
</xs:schema>
Now take the following XML doc:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<nodeA xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="test.xsd">
<nodeB>Test Data</nodeB>
</nodeA>
Open the XML doc within Eclipse having the OxygenXML plug-in installed.

Next, left mouse click within <nodeB>.

Within Eclipse, left click the Attributes tab that defaults to appear at the bottom of the screen.

Within the Attributes tab, left click in the Value column of optionalAttribute. Type in false.

Observe the value now present in the Attributes tab-- Value: [Empty]

Again, this is very minor but I think you will want to fix this in a future version.

Re: Minor Eclipse Plugin Attribute Issue

Posted: Mon Nov 18, 2013 8:48 pm
by Jamil
Forgot to state that I am currently running the latest version available of all software:

Eclipse Java EE 4.3.1
OxygenXML 15.1

Re: Minor Eclipse Plugin Attribute Issue

Posted: Mon Nov 18, 2013 8:59 pm
by adrian
Hi,

Could you please also check what build of v15.1 are you using (Window > Preferences, oXygen)?

Regards,
Adrian

Re: Minor Eclipse Plugin Attribute Issue

Posted: Mon Nov 18, 2013 9:06 pm
by Jamil
15.1 Build 2013110816

Re: Minor Eclipse Plugin Attribute Issue

Posted: Mon Nov 18, 2013 9:10 pm
by adrian
Thank you.
I was able to reproduce the problem by following your description. I've logged it to be resolved in the next release of Oxygen.

Regards,
Adrian

Re: Minor Eclipse Plugin Attribute Issue

Posted: Mon Jan 27, 2014 12:48 pm
by Radu
Hi,

We released Oxygen 15.2 about a week ago and the reported issue should be fixed in it.

Regards,
Radu