Instance Generation picking wrong namespace and not allowing change
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 6
- Joined: Tue Nov 08, 2011 5:18 pm
Instance Generation picking wrong namespace and not allowing change
I am trying to use the instance generation of Oxygen 12 and 13. However in the generate Sample XML file dialog, the Namespace it shows is one of the included schemas, and not the default namespace of the schema I am trying to generate a sample from. As a result the element I need is not available in the root element dropdown.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Instance Generation picking wrong namespace and not allowing change
Hello,
We are not aware of this issue.
Could you please send us the schemas(or sample schema files) to our support email address: support@oxygenxml.com
Regards,
Adrian
We are not aware of this issue.
Could you please send us the schemas(or sample schema files) to our support email address: support@oxygenxml.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: 6
- Joined: Tue Nov 08, 2011 5:18 pm
Re: Instance Generation picking wrong namespace and not allowing change
Actually found the solution. The schema only contained type definitions not elements, so the tool looked for an included schema with an element definition.
-
- Posts: 1
- Joined: Fri Aug 01, 2014 12:51 am
Re: Instance Generation picking wrong namespace and not allo
Post by tedHabermann »
This is actually a problem in cases where you are trying to generate sample instance documents with root elements that occur in more than connected namespace. For example, assume that you have two namespaces, a and b, and the schema for a imports the schema for b. If both of those namespaces include an element named description, i.e. a:description and b:description both exist, then when you select the description element as the root element for the sample instances, as the select box only allows selection of element names, the namespace is automatically determined. If a: is found first, you can not select b: and visa versa...
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Instance Generation picking wrong namespace and not allo
Post by radu_pisoi »
Hello,
Yes, there is a problem when the hierarchy of the selected schema contains 2 or more elements with the same local name but from different namespaces. In this case you could not select a certain element with a specific local name and namespace because the namespace is selected automatically depending on the selected element.
Regarding this problem, I will register an issue and you will be notified when it will be fixed.
Yes, there is a problem when the hierarchy of the selected schema contains 2 or more elements with the same local name but from different namespaces. In this case you could not select a certain element with a specific local name and namespace because the namespace is selected automatically depending on the selected element.
Regarding this problem, I will register an issue and you will be notified when it will be fixed.
Radu Pisoi
<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: 419
- Joined: Mon May 09, 2016 9:37 am
Re: Instance Generation picking wrong namespace and not allowing change
Post by sorin_carbunaru »
Hello everyone,
Just wanted to update this thread to say that the issue that Radu Pisoi registered has been marked as resolved in version 21.
All the best wishes,
Sorin Carbunaru
oXygen XML
Just wanted to update this thread to say that the issue that Radu Pisoi registered has been marked as resolved in version 21.
All the best wishes,
Sorin Carbunaru
oXygen XML
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