[xml] nextCatalog support in 'xmlcatalog'



Hello!

I'm trying using 'xmlcatalog' (part of libxml2-2.4.30) for
manipulating of XML Catalog entries with type 'nextCatalog':

# xmlcatalog --noout --add "nextCatalog" \
"file:///usr/share/xml/website/catalog.xml" "" /etc/xml/catalog

It worked, but entries added even if such values already exists.
So, if I run twice:
# xmlcatalog --noout --add "nextCatalog" \
"file:///usr/share/xml/website/catalog.xml" "" /etc/xml/catalog

then in /etc/xml/catalog:
<nextCatalog
catalog="file:///usr/share/xml/website/catalog.xml"/> 
<nextCatalog
catalog="file:///usr/share/xml/website/catalog.xml"/>

This is correct? Should I fill a bug report ?

-- 
Regards, Vyt
mailto:  vyt vzljot ru
JID:     vyt vzljot ru



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]