Re: RDF metadata issue

Niklas Nebel <[email protected]>
Newsgroups gmane.comp.openoffice.devel.general
Message-ID <[email protected]>
On 09.02.2011 15:50, underscore wrote:
> The problem is that the metadata looks like this :
>
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
>    <rdf:Description rdf:about="../content.xml#id322214793">
>      <ns1:sectionType
> xmlns:ns1="http://editor.bungeni.org/anx/">Clause</ns1:sectionType>
>      <ns2:sectionUUID
> xmlns:ns2="http://editor.bungeni.org/anx/">1723-18388-38383-38383</ns2:sectionUUID>
>    </rdf:Description>
> </rdf:RDF>
>
> Notice how the ns1 and ns2 namespace prefixes are duplicated ....
> But i want it to look like this --
>
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
>    <rdf:Description rdf:about="../content.xml#id322214793"
> xmlns:anx="http://editor.bungeni.org/anx">
>      <anx:sectionType>Clause</anx:sectionType>
>      <anx:sectionUUID>1723-18388-38383-38383</anx:sectionUUID>
>    </rdf:Description>
> </rdf:RDF>

Why do you want it to look like that? The first example should look the 
same to any well-behaved tool.

Niklas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.