majorbyte
9 years agoIdeator III
Technical Publication - additional xsd
I have several schema's (tp_xmlschema) which are all quite similar. Basically this is to control what elements you can add in different types of publication.
There's one tree of xs:element's in all these schema's that's exactly the same. Now when I have to change it, I have to make the same change to all schema's. What I'm interested in is defining that tree in it's own xsd in Client/Modules/aras.innovator.TDF/Schemes and import that xsd into my schema's, just like:
<xs:schema
xmlns="">www.aras.com/TechDocExample" targetNamespace="">www.aras.com/TechDocExample"
xmlns:aras="">http://aras.com/ArasTechDoc"
xmlns:graphics="">mynamespace.com/Graphics"
xmlns:xs="">www.w3.org/.../XMLSchema" elementFormDefault="qualified">
<xs:import namespace="">www.w3.org/.../>
<xs:import namespace="">aras.com/.../>
<xs:import namespace="">mynamespace.com/.../>
But doing so gives the following error in the client:
The 'mynamespace.com/Graphics:Graphic-List' element is not declared..
I assume this is because nowhere I have defined that it should load Client/Modules/aras.innovator.TDF/Schemes/graphics.xsd.
I haven't been able to find where it might load the XSD's from that folder.
Am I trying to achieve something that's just not possible, or am I missing something?
I hope someone can help me out