So our Metadata object would have a map whose key was a composite of the
namespace and the name?

- Keith



Jukka Zitting wrote:
> 
> Hi,
> 
> On 10/10/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote:
>> On 10/10/07, Jukka Zitting <[EMAIL PROTECTED]> wrote:
>> > ...Alternatively, should we use separate namespace URIs to identify the
>> > namespace of a metadata key? That would make it easier to integrate
>> > with various XML processing tools....
>>
>> Not sure what you mean by that, could you give an example?
> 
> Something like this:
> 
>     // Set Dublin Core title
>     metadata.set("http://purl.org/dc/elements/1.1/";, "title", title);
>     // Set OpenDocument keywords
>     metadata.set(
>         "urn:oasis:names:tc:opendocument:xmlns:meta:1.0",
>         "keywords", keywords);
> 
> Of course with appropriate namespace constants in place.
> 
> BR,
> 
> Jukka Zitting
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Namespacing-our-Metadata-keys--tf4599760.html#a13136603
Sent from the Apache Tika - Development mailing list archive at Nabble.com.

Reply via email to