Open jakubklimek opened 2 days ago
The issue is that imported data structures share the same namespace and namespace prefix. If you make them different, it should work. I am not sure whether this is legal and hence bug in Dataspecer, or not.
Actually, I originally thought the same thing and had the mention of the namespace in the issue. But it is not the cause, as when I change one of the namespaces (at least their IRIs, I did not try the prefixes), the bug remains. In any case, in XML, it is legal (the designer needs to be aware of potential conflicts), hence a bug in Dataspecer.
This specification re-uses two data structures - person and physical person. However, in the resulting XSD, only one of them is imported.