[ http://issues.apache.org/jira/browse/WODEN-29?page=all ]
Jeremy Hughes closed WODEN-29. ------------------------------ > DescriptionElement.setTargetNamespace() should filter down to child elements > ---------------------------------------------------------------------------- > > Key: WODEN-29 > URL: http://issues.apache.org/jira/browse/WODEN-29 > Project: Woden > Issue Type: Improvement > Components: Parser > Reporter: Jeremy Hughes > Assigned To: Jeremy Hughes > > setting targetNamespace on DescriptionElement. See [1] > Certain children of the <description> element have attributes which are typed > as NCNames. These attributes default to being within the description > element's targetNamespace. The API for getting one of the NCName attributes > is a getter method that returns a QName - which is typically more helpful > than returning an NCName. If the targetNamespace is set to a new namespace > then this should be reflected in the QNames returned by the attribute get > methods. > For example InterfaceElement.getName() returns a QName. The namespace of this > QName should always be the same as the targetNamespace of the description > element it is associated with. Therefore, as Arthur says in [1]: > "The QNames of the children are in a sense "derived" values. > Maybe that should not be stored in the children, but rather computed > on demand, i.e. the methods on the children create a QName and return > that. i.e. a copy is produced." > So that is what this JIRA will implement. > [1] http://mail-archives.apache.org/mod_mbox/ws-woden-dev/200606.mbox/[EMAIL > PROTECTED] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
