1
General Board / Problem with import of exported packages
« on: March 05, 2003, 06:36:52 am »
Hi all
I’ve reverse enginered the whole J2EE SDK source (take a few minutes…) with the goal to export the Java classes in XML packages so I then would be able to import it in multiple projects. Since I not always want to have the whole J2EE SDK available I would like to split it in different XML packages (java.lang, java.rmi etc.).
The problem occurs when I have the DTD option switched on when export to the XML file. When importing a such package I got the following message:
Error:
Code = 0xc00ce017
Source = Line: 4489; Char : 181
Error Description = Attribute ‘visibility’ has an invalid value according to the DTD/Schema.
Since this not occurs for all classes I started to look closer on this. It seems like it’s when a class has relations to other classes which is not imported yet (and maybe newer will be) this problem occurs.
Has anyone seen the same problem? Any suggestions what to do? What will happen if I remove the DTD check? Will the model lose information about the relations?
Appreciate any help
Per
I’ve reverse enginered the whole J2EE SDK source (take a few minutes…) with the goal to export the Java classes in XML packages so I then would be able to import it in multiple projects. Since I not always want to have the whole J2EE SDK available I would like to split it in different XML packages (java.lang, java.rmi etc.).
The problem occurs when I have the DTD option switched on when export to the XML file. When importing a such package I got the following message:
Error:
Code = 0xc00ce017
Source = Line: 4489; Char : 181
Error Description = Attribute ‘visibility’ has an invalid value according to the DTD/Schema.
Since this not occurs for all classes I started to look closer on this. It seems like it’s when a class has relations to other classes which is not imported yet (and maybe newer will be) this problem occurs.
Has anyone seen the same problem? Any suggestions what to do? What will happen if I remove the DTD check? Will the model lose information about the relations?
Appreciate any help
Per