Error in XSD schema documentation generation.

Having trouble installing Oxygen? Got a bug to report? Post it all here.
manuel.dorne
Posts: 9
Joined: Thu Oct 19, 2006 5:31 pm

Error in XSD schema documentation generation.

Post by manuel.dorne »

Hello, i ve this error when i try to generate documentation from XSD schema.

Can you tell me how to resolve it ?

Thanks !

Image
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

More details are available in the xs2p.xsl, see
***
Constraints:
-Local schema components cannot contain two dashes in
'documentation' elements within their 'annotation' element.
This is because the contents of those 'documentation'
elements are displayed in a separate window using Javascript.
This Javascript code is enclosed in comments, which do not
allow two dashes inside themselves.
***
I can see that it will be a good idea to extend the message that you got to contain more information and an advise about possibilities to fix this problem.

As you can see above you need to find where you have -- in your annotation socumentation inside the schema file and see if you can remove them or rewrite somehow that part to avoid having two dashes there.

Best Regards,
George
Post Reply