Details
-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
Description
See tests that have roundTrip="false" in namespaces.tdml. All of these tests should round trip, but the xml namespaces created in the infoset are incorrect. For example, the namespaces_qnames test result in the following infoset:
<e xmlns:ex2="http://example.com/1" xmlns="http://example.com/1">
|
<len>5</len>
|
<num>12345</num>
|
</e>
|
In this example, num should be NoNamespace because it's defined as a local element and elementFormDefault="unqualified", but because xmlns is defined in the infoset, it is in the ex2 namespace. This schema should instead look something like this:
<ex:e xmlns:ex2="http://example.com/1">
|
<ex2:len>5</ex2:len>
|
<num>12345</num>
|
</ex2:e>
|
Numerous other tests in the namespaces.tdml file exhibit simliar behaviors, and so roundTrip is set to false.