Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace of XML elements corresponding to MAL body parts #19

Open
S-Gaertner opened this issue Jul 17, 2020 · 0 comments
Open

Namespace of XML elements corresponding to MAL body parts #19

S-Gaertner opened this issue Jul 17, 2020 · 0 comments

Comments

@S-Gaertner
Copy link

3.7.3.2: This section reads as if schema types generally are put in their own namespaces pertaining to areas and services (5.2), but the corresponding XML elements for use as body parts are put in the malxml-prefixed namespace. This allows name collisions, although it does not impede processability: Names are irrelevant when knowing the service specification and what element to expect (and in case multiple elements are allowed due to a defined abstract type, the "type" attribute suffices to choose the correct MAL type). Still, it makes it impossible to perform a proper validation using XML Schema. Therefore, the namespace rules for XML elements for use as body parts should be exactly the same as for XML types corresponding to MAL types (i.e. 5.2.1 to 5.2.3 adapted to XML elements). 3.7.3.2.1 should be removed and the XML namespace for Body in 3.7.3.2.2 explicitly mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant