I want to use an external entity in an xdoc file as part of my site
generation.
I have the following code in my xdoc file.
<?xml version="1.0"?>
<!DOCTYPE document [
<!ENTITY entityExample "Hello entity is working" >
]>
<document>
<properties>
<title>My Doc</title>
</properties>
<body>
<section name="My Doc">
<p>
I want to print this &entityExample; in my page.
</p>
</section>
</body>
</document>
I appreciate that this isnt an external entity but I cannot even get
this to work for now.
When I run mvn site with this I get a XmlPullParserException with the
message "could not resolve entity named 'entityExample' "
I found a few discussions about this in maven1 with the xdoc plugin but
no discussion in maven2. Has anyone had any success with this or can
offer any advice. Otherwise Im just going to have to link to external
files which would be a lot uglier.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]