Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: pebran on November 25, 2009, 09:20:39 pm

Title: Problem with DTD
Post by: pebran on November 25, 2009, 09:20:39 pm
Trying to import a valid xsd that contains a DOCTYPE gives me this error message:
“The element ‘xsd:schema’ is used but not declared in the DTD/Schema.”
The xsd starts with :

<?xml version="1.0"?>
<!DOCTYPE xsd:schema [ ... declarations in here ...]

and the root element is defined as:

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

The schema validates OK with XML Spy so why cant I import this to EA?

Thanks,
Peter
Title: Re: Problem with DTD
Post by: pebran on November 26, 2009, 11:25:14 pm
And let me add to the above:
Is it the use of DTD in the schema that is done wrongly - though it is validated OK in XML Spy - or is it EA that is in error?

It would be nice if someone from Sparx could comment on this.

/Peter
Title: Re: Problem with DTD
Post by: Geert Bellekens on November 26, 2009, 11:49:55 pm
Peter,

This is a user forum (although the Sparxians often help out as well), if you want a reply from Sparx you better send a support request their way.

Geert