From: Mark A. F. <mar...@ea...> - 2004-04-16 16:42:28
|
Hi Paul, I got the version selector to work. I can switch between v1 and v2. That's nice. I can harvest the v3 information and plug it in. I'm still having trouble with attributes. The v1 spec has a "lang" attribute on the "description" element. The v2 spec has them on "name" and "description" elements. (It's a way to have multiple names and descriptions, one per language). I can't access that attribute using either v1 or v2. I believe the problem may have something to do with the fact that this attribute is namespaced to XML. (<xsd:attribute ref="xml:lang"/>) The UDDI server returns this markup "<description xml:lang="en">". Caveat (and a reason to believe the namespace has something to do with this): UDDI:Lite's content model for v1 does not include "description=>{lang=>2}". You'll have to add it to the "ATTRIBUTES" section. (Should it retain its namespace? and, the user access UDDI results using the namespace?) Mark |