Royce Mitchell III wrote:
Emanuele Aliberti wrote:
There is a problem with our XML. XInclude
requires that included XML
files contain a single node. We violate that rule almost everywhere.
For instance. In ReactOS.xml there is
<xi:include href="baseaddress.xml" />
but baseaddress.xml contains only a set of <property ... /> nodes,
not a containing node. I tried wrapping them with a
<group>...</group> node
<group>
<property ... />
...
</group>
and it works fine. More difficult is the <directory ...> case.
IMHO, A special "do-nothing" xml tag should be created for this purpose.
<group> looks like harmless, but i could not find what it is for.
I put the HTML rendering of the rbuild reference on line here
http://users.libero.it/ea/ros/rbuild/ for wider audience and peer review.
After some <group>'ing, loading ReactOS.xml in XXE 2.10 emits this error
now:
/project/xi:include:
cannot load file "E:\src\ros\trunk\reactos\config.xml":
E:\src\ros\trunk\reactos\config.xml (file not found)
I don't know if it is wrong how we specify xi:fallback or if XXE is wrong.
--
:Emanuele Aliberti