brand-zz / jing-trang

Automatically exported from code.google.com/p/jing-trang
Other
0 stars 0 forks source link

Invalid XSD generated from XML file #170

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
*What steps will reproduce the problem?*

1. `java -jar trang.jar -I xml -O xsd test.xml test.xsd`
2. Try to validate the `test.xml` file using the `test.xsd` schema that Trang 
generated.

*What is the expected output? What do you see instead?*

The `test.xml` file should pass validation using the generated XSD schema.

*What version of the product are you using? On what operating system?*

Trang version 20091111 on Windows 7 x64.

*Please provide any additional information below.*

I've attached all relevant files including a copy of the XSD that I fixed as an 
example of what I'd expect Trang to generate.

Original issue reported on code.google.com by jos...@poehls.me on 8 Jul 2013 at 8:16

Attachments: