Tests the eXist data management implementation.
Package Specification
This package tests the functionality of the eXist database
interaction classes.
The XBRLAPI implementation requires the following behaviours
to be made available to the implementation classes responsible
for manipulating XBRL DTS fragments.
DTS-level behaviours:
- Ability to specify, for a DTS, the Xindice database URL
and the collection being used to store the DTS fragments.
- Ability to create the collection for a DTS if it does not
already exist
- Ability to delete the collection for a DTS if the DTS is
being permanently deleted
- Ability to rename the collection used to store a DTS
- Ability to change metadata about a DTS in the collection
metadata including:
- The set of starting point URLs for the DTS discovery
- The timestamp for beginning DTS discovery
- Ability to decompose a DTS into a set of manageable fragments,
each of which has its own unique identifier, used as the XML fragment
id in the DTS database collection
- Ability to marshall the fragments that make up the DTS into a single
XML DOM object that reflects an augmented set of the DOM objects that
represent the original XML documents that the DTS was compiled from.
- Ability to marshall the fragments that make up the DTS into a set of
XML documents that would be the XML documents required to publish the
DTS as a valid set of XBRL 2.1 schemas, linkbases and instances.
Fragment-level behaviours:
- Ability to retrieve a fragment of the DTS given its unique id
- Ability to delete a fragment of the DTS given its unique id
- Ability to DB Update a fragment of the DTS given its unique id and the XUpdate declaration
- Ability to XPath query a fragment of the DTS given its unique id and the XPath query
- Ability to identify the parent fragment of the fragment in a single DOM representation of the DTS
- Ability to identify the node of the parent fragment that contains this fragment
- Ability to identify the number of preceding sibling DOM nodes of this fragment in the containing node
of the containing fragment
xbrlapi.org Java library providing XBRL functionality
Copyright (C) 2005, Geoffrey Shuetrim (geoff@galexy.net)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License (http://www.gnu.org/licenses/lgpl.html), or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA