"Elements" view not showing all available valid elements.
Oxygen general issues.
-
- Posts: 14
- Joined: Tue Sep 27, 2011 11:29 am
"Elements" view not showing all available valid elements.
I seem to have an issue whereby the 'Elements' view is not showing an element when it should show it. I have the following schema in place:
When the caret is placed inside a description tag, then the measurement element should appear in the Elements view - see the image:

Is there something wrong with my schema? or my XML? or something else?
Code: Select all
<xsd:element name="description">
<xsd:complexType mixed="true">
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="measurement"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="measurement">
<xsd:simpleContent>
<xsd:extension base="xsd:decimal">
<xsd:attribute name="type" type="measurement-type" use="required"/>
<xsd:attribute name="display-unit" type="xsd:boolean"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>

Is there something wrong with my schema? or my XML? or something else?
-
- Posts: 14
- Joined: Tue Sep 27, 2011 11:29 am
Re: "Elements" view not showing all available valid elements.
Interesting thing to note is that the content completion picks up that I can insert a measurement tag at the location, but the Elements view doesn't.
(Sorry for the big pic - I had meant to just link to it but accidentally clicked Submit instead of Preview).
(Sorry for the big pic - I had meant to just link to it but accidentally clicked Submit instead of Preview).
-
- Posts: 2891
- Joined: Tue May 17, 2005 4:01 pm
Re: "Elements" view not showing all available valid elements.
Hello,
Thank you for the feedback.
We have tested, but could not reproduce this behavior in Oxygen v13.2.
What version and build number of oXygen are you using(Window -> Preferences -> oXygen)?
The XSD sample you provided is shallow and the element and complexType are not connected, so I don't know with certainty what's the relationship between the two. I can only guess you have a measurement element that connects them:
Note that some XML well-form errors, can confuse the context for the Elements view, so that could be a possible cause for this problem.
If you want to help us investigate this, please send more detailed samples(XSD+XML) to:
support AT oxygenxml DOT com
Regards,
Adrian
Thank you for the feedback.
We have tested, but could not reproduce this behavior in Oxygen v13.2.
What version and build number of oXygen are you using(Window -> Preferences -> oXygen)?
The XSD sample you provided is shallow and the element and complexType are not connected, so I don't know with certainty what's the relationship between the two. I can only guess you have a measurement element that connects them:
Code: Select all
<xsd:element name="measurement" type="measurement"/>
If you want to help us investigate this, please send more detailed samples(XSD+XML) to:
support AT oxygenxml DOT com
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 2891
- Joined: Tue May 17, 2005 4:01 pm
Re: "Elements" view not showing all available valid elements.
Hi again,
In case someone else encounters this, it turned out to be a bug. I have logged this to our issue tracking tool and it will be analyzed and resolved in a future version of Oxygen.
We will post a notification here when a bugfix becomes available.
Regards,
Adrian
In case someone else encounters this, it turned out to be a bug. I have logged this to our issue tracking tool and it will be analyzed and resolved in a future version of Oxygen.
We will post a notification here when a bugfix becomes available.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service