If is it possible store in EXIST an XML document in physical chunks using the <!ENTITY name SYSTEM "filename"> declaration ?
Using Exist Administrator interface, I before uploaded this fragment (fragment.xml) in Exist root (/db):

<DocumentoNIR nome="DecretoLegislativo ">



<pubblicazione tipo="GU" norm="19940519" num="115"/>


<vigenza id="v1" inizio="20000901"/>




But when I try to upload the master document:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE NIR SYSTEM "http://localhost:8080/examples/nir/nirflessibile.dtd" [

<!ENTITY fragment SYSTEM "/db/fragment.xml">


<NIR tipo="originale" xmlns="http://www.normeinrete.it/nir/1.0">




Exist answer :

Error: \db\fragment.xml (Impossible to find the specified path)



If I change the ENTITY declaration with an absolute URL enclosed:

<!ENTITY fragment SYSTEM "http://localhost:8080/exist/xmldb/db/fragment.xml">

Exist answer

Error: The element type "META" must be terminated by the matching end-tag "</META>".


What is the problem ?