« Return to Thread: Element[] to QName to topic?

Re: Element[] to QName to topic?

by Jan Torben Heuer-4 :: Rate this Message:

Reply to Author | View in Thread

On Wednesday 06 August 2008 13:17:27 Chris.Twiner@... wrote:

Hi,

> The XmlUtils.getQName / getQNameFromChild functions can retrieve QNames for
> you.  These search up the path to collect the namespaces mentioned by the
> QNames.  Note these are QNames in the xsd fashion i.e. prefix:localName and
> the prefix -> namespace mapping must be in a parent element.

The method signature is: XmlUtils.getQName(Element) - however the topic is
parsed as DefferedTextImpl which is a node but not an Element. Did I miss
something? My topic looks like:

<wsbn:Topic
dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple"
xmlns:tsas="http://www.opengis.net/sas/1.0.0/">
                                tsas:Measurements
</wsbn:Topic>

is that correct?

Jan

--
                                Institute for Geoinformatics
jan.heuer@... Robert-Koch-Strasse 26-28
+49 251 83-31960 48151 Münster, Germany

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...

 « Return to Thread: Element[] to QName to topic?