phayes/geoPHP — Issue #13: Better namespace sopport
Author: phayes
Created: 2012-01-16 20:19:31+00:00
State: open

For our XML based adapters, namespace support is pretty ad-hoc.

These are the features I would like to see:

1. When a fully-valid XML document with name-spaces is passed in, use those namespaces

2. When an XML snippet is passed in, by default we should support a non-name-spaced snippet, and a "default" namespace for each given adapter. (ie, for geoRSS support 123 123 with no configuration)

3. When an XML snippet is passed in, allow a namespace to be passed in as a paramater.

4. When outputting XML snippets, allow a namespace to be assed in as a parameter - default to no namespacing.