Current namespace qnames are 'ns0:', 'ns1:' and would be useful if they were 'dc', 'dcterms', 'foaf', etc.

Comments

fgiasson’s picture

As a side note to anyone who would like to do such an improvement:

(1) The Namespaces class in Namespaces.php class should be leveraged for this purpose.

(2) In web services that output some resultsets, each of them have a "$namespaces" private variable. To create this enhancement, each such web service endpoint should populate this $namespaces variable with all static variables of the Namespaces class (this step could be performed in the constructor of each of the web service class).

Note: Maybe that we can think about defining all namespaces->qnames in an INI file that get parsed at some point in the WS process. This would render structWSF easier to manage and setup.

fgiasson’s picture

Status: Active » Closed (fixed)

This issue is related to structWSF; moved to: http://code.google.com/p/structwsf/issues/detail?id=1