In my limited understanding, there seems to be 2 approaches:
1) Use the XSD extends feature 2) Develop the Hibernate namespace completely separately (the mapping XML would mix namespaces).
(2) allows for easier portability between providers iiuc because the xml would not refer to the (extended) Hibernate XSD as the root. But I am not sure how this applies validation across the combined namesapces (since they interleave).
|