A Namespace is created using a Spring bean with the following attributes:
| Attribute | Value | Description |
|---|---|---|
| id | User-defined | A unique ID for the bean. |
| parent | xml.namespace.abstract | The parent bean. |
The Namespace bean takes the following properties:
| Property | Type | Mandatory | Description |
|---|---|---|---|
| prefix | String | Required | Unique prefix for the namespace. |
| uri | String | Required | Unique URI for the namespace. |
To debug your Namespace, add the following entry to your
log4j.properties file:
log4j.logger.com.componize.xml.namespace.Namespace=debug