Flatten Schema with xsd:import
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 1
- Joined: Fri Sep 18, 2009 6:25 pm
Flatten Schema with xsd:import
Post by egogenesic »
Hi,
Is there a way to convert a schema that imports multiple other schema files into a single schema?
The 'Flatten Schema' option under Refactor only seems to handle xsd:include and not xsd:import (as far as I can tell anyway ).
I am working with an xforms rendering tool that can only handle single schema files (i.e. won't process the includes or imports) so being able to convert a complex schema with lots of imports (including nested imports) would be fantastic.
Thanks very much,
Samual
Is there a way to convert a schema that imports multiple other schema files into a single schema?
The 'Flatten Schema' option under Refactor only seems to handle xsd:include and not xsd:import (as far as I can tell anyway ).
I am working with an xforms rendering tool that can only handle single schema files (i.e. won't process the includes or imports) so being able to convert a complex schema with lots of imports (including nested imports) would be fantastic.
Thanks very much,
Samual
Re: Flatten Schema with xsd:import
Hi Samual,
XML Schema cannot define components from different namespaces in the same file. When you use import in XML Schema that means you are referring a schema from a different namespace and those components cannot stay in the same file with the components from the including schema - that is why the flatten schema action deals only with includes.
Best Regards,
George
XML Schema cannot define components from different namespaces in the same file. When you use import in XML Schema that means you are referring a schema from a different namespace and those components cannot stay in the same file with the components from the including schema - that is why the flatten schema action deals only with includes.
Best Regards,
George
George Cristian Bina
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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