Closed kgi-github closed 5 years ago
There seems to be some connection, though. If I look at the stack trace, Base.xsd is never loaded in the newer commit. But if I change this line:
<xsl:for-each select="(//xs:schema)[1]//xs:include">
to:
<xsl:for-each select="(//xs:schema)//xs:include">
it does work.
There seems to be a serious bug with how external documents are loaded into memory. It's on my list but I can't promise how soon I'll be able to attend to it.
The issue should be fixed in release 3.3. Can you confirm?
Hi, Sorry - I missed github's notification of your comment 10 days ago, I would have replied. Yes, the issue appears to be fixed. Thanks so much! Kevin.
Glad it works! I'm closing this issue.
I have an issue where an element defined in a base type doesn't appear on the generated form.
This happens when the schema file defining the root element includes a second schema file defining the type of the root element, which in turn includes a third schema file defining the base type.
I have three files. First is test.xsd, specifying the root element "test":
Second is MyType.xsd defining "MyType" which extends the type "Base":
Third is Base.xsd, which defines the type "Base", specifying an element called "baseElement":
No field for the "baseElement" element appears on the generated html form.
Note that this happens with xsd2html2xml 3.2, it is not caused by the fix you made to avoid multiple fields in the base type.
cheers, Kevin.