You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not an XML expert (by choice :-) but isn't it legal to not have a default ns attribute like xmlns="someNameSpace" at the root but instead something like: "xmlns:nsname="someNameSpace" and then prefix the root element with <nsname:RootElement>...</nsname:RootElement>?
If form is present and its actual value is qualified, or if form is absent and the actual value of elementFormDefault on the <schema> ancestor is qualified, then the actual value of the targetNamespace [attribute] of the parent <schema> element information item, or absent if there is none, otherwise absent.
Since the default value of elemeFormDefault is unqualified, unless otherwise specified the local elements must be unqualified. Schemas like XML Schema and XHTML specify this value to qualified, but this is a defect of scalaxb not handling form correctly.
I'm not an XML expert (by choice :-) but isn't it legal to not have a default ns attribute like
xmlns="someNameSpace"
at the root but instead something like:"xmlns:nsname="someNameSpace"
and then prefix the root element with<nsname:RootElement>...</nsname:RootElement>
?scalaxb can't seem to handle this
A full example:
The text was updated successfully, but these errors were encountered: