Open kgi-github opened 5 years ago
That doesn't have to do with it being the top-level element. It's because of the whitespace around the integer. Change it to ...>1974</... and it works.
Doh! I thought I was missing something. Thanks.
You're welcome. Let's leave this one open, because according to the specification, your XML with the whitespace is valid.
I have noticed that when creating a filled form from an xml document the value of a top level element (if it's a type such as xs:integer or a simpleType) is not displayed.
I have two files. The first is test.xsd:
The second file is myTest.xml:
The value 1974 is not shown on the generated form after processing with xsd2html2xml. I am using version 3.3. Have I made a mistake somewhere?