Minor Eclipse Plugin Attribute Issue

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Jamil
Posts: 99
Joined: Thu Oct 23, 2008 6:29 am

Minor Eclipse Plugin Attribute Issue

Post 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.
Jamil
Posts: 99
Joined: Thu Oct 23, 2008 6:29 am

Re: Minor Eclipse Plugin Attribute Issue

Post 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
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Minor Eclipse Plugin Attribute Issue

Post by adrian »

Hi,

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

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jamil
Posts: 99
Joined: Thu Oct 23, 2008 6:29 am

Re: Minor Eclipse Plugin Attribute Issue

Post by Jamil »

15.1 Build 2013110816
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Minor Eclipse Plugin Attribute Issue

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Minor Eclipse Plugin Attribute Issue

Post by Radu »

Hi,

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

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply