Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: KickMeToAndy on December 11, 2009, 07:02:36 pm
-
Hello,
i am trying the generate the xml schema from my model. i am using
the UML Profile for XML according to the documentation.
since i want to structure my model, to make it more readable, i am
using schema packages. when i generate the xml schema using the
code engeneering option an empty <xs:include/> is generated (see
snippet below). is there a way to prevent that import, or is there
something wrong with my model ? The problem with the empty tag is
that jaxb cannot handle the tag. i am using jaxb to generate java sources from the schema.
thanks in advance,
cheers,
andy
<?xml version="1.0"?>
<xs:schema targetNamespace="http://www.xxx.de/ffe" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dbs="http://www.xxx.de/ffe">
<xs:import namespace=""/>
<xs:include/>
<xs:element name="AuftragErfassenResponse" type="dbs:AuftragErfassenResponse"/>
......