Schemas with no namespace

Problem

If code is generated using a schema that contains no namespace, then all the elements have no namespaces of there own. Because of this the generator places the generated classes into a namespace taken from the project name (entered through the wizard).

If the schema declares its elements to be within the targetnamespace, but does not alias this namespace, then these elements become classes within the tns namespace.

Notes

In visual basic there is no support for namespaces so the generator ensures the names are unique by appending A, B ...ZZ onto them if they exist in more than one namespace.

Description Value
Article Created 7/2/2006
Applies to Liquid XML 2005 and greater