Unknown namespace when importing schemas that contained restricted type from another imported schema ----------------------------------------------------------------------------------------------------
Key: JIBX-394 URL: http://jira.codehaus.org/browse/JIBX-394 Project: JiBX Issue Type: Bug Components: CodeGen Affects Versions: JiBX 1.2.2 Environment: Windows XP Sun JDJ 1.6.0_10 Reporter: Gary Jacobs Attachments: LevelOne.xsd, LevelTwo.xsd, Schemas.zip Receive the following exception when running CodeGen against the attached schemas: Exception in thread "main" java.lang.IllegalStateException: Internal error - error writing schema XML representation: Unknown namesp ace URI http://com.levelfour at org.jibx.schema.codegen.SchemaDocumentationGenerator$DocumentationVisitor.visit(SchemaDocumentationGenerator.java:496) at org.jibx.schema.SchemaVisitor.visit(SchemaVisitor.java:99) at org.jibx.schema.SchemaVisitor.visit(SchemaVisitor.java:109) at org.jibx.schema.SchemaVisitor.visit(SchemaVisitor.java:385) at org.jibx.schema.codegen.SchemaDocumentationGenerator$DocumentationVisitor.visit(SchemaDocumentationGenerator.java:528) at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:194) at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505) at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:303) at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505) at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:303) at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505) at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:303) at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505) at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:303) at org.jibx.schema.codegen.SchemaDocumentationGenerator.generate(SchemaDocumentationGenerator.java:315) at org.jibx.schema.codegen.ClassHolder.initClass(ClassHolder.java:679) at org.jibx.schema.codegen.StructureClassHolder.generate(StructureClassHolder.java:2046) at org.jibx.schema.codegen.PackageHolder.generate(PackageHolder.java:210) at org.jibx.schema.codegen.PackageHolder.generate(PackageHolder.java:227) at org.jibx.schema.codegen.CodeGen.generate(CodeGen.java:1535) at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:1989) The command line is as follows: java -cp .\;D:\Apache\JibxOriginal\jibx\lib\jibx-tools.jar org.jibx.schema.codegen.CodeGen -t ./JiBX -p com.jibxstub.request LevelOne.xsd -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ jibx-devs mailing list jibx-devs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-devs