Hi Howard,

I'm not sure if this helps but I recently had a problem with external 
XML entities - Maven refused to load them.

Using 

<!ENTITY % common-links SYSTEM "file:../common/links.xml">

might help

Cheers,

Siegfried Goeschl


On 28 Oct 2003 at 23:48, Chad Woolley wrote:

> Howard M. Lewis Ship wrote:
> > 
> > I make use of XML external entities:
> > 
> > <!DOCTYPE document [
> >     <!ENTITY % common-links SYSTEM "../common/links.xml">
> >     %common-links;
> >     ]>
> > <document>
> 
> 
> Howard,
> 
> Thanks for your response.  I tried your suggestion, and I cannot get
> it to work, despite spending a few hours playing with it and searching
> the web for an answer.  A complete working example would be greatly
> appreciated.
> 
> 
> 
> Here is my page:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> 
> <!DOCTYPE document [
>      <!ENTITY % test SYSTEM "test.xml">
>      %test;
> ]>
> 
> <document>
>      <body>
>          <section name="Section">
>              <subsection name="Subsection">
>                  <ul>
>                  <li>
>                      <strong>
>                        THIS IS THE SUBSECTION CONTENT
>                      </strong>
>                  &test;
>                  </li>
>                  </ul>
>              </subsection>
>          </section>
>      </body>
> </document>
> 
> 
> 
> Here is test.xml:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> 
> <document>
>      <body>
>        THIS IS A TEST
>      </body>
> </document>
> 
> 
> 
> And here is the error I get:
> 
> BUILD FAILED
> File...... file:/C:/Documents and 
> Settings/cwoolley/.maven/plugins/maven-xdoc-plugin-1.4-SNAPSHOT/
> Element... x:parse
> Line...... 315
> Column.... 43
> Error on line 3 of document 
> file:/D:/virtualmock/virtualmock/xdocs/test.xml : The markup 
> declarations contained or pointed to by the document type declaration
> m ust be well-formed. Nested exception: The markup declarations
> contained or pointed to by the document type declaration must be
> well-formed.
> 
> 
> 
> What am I doing wrong?  Could you perhaps provide a working example? 
> I have tried several different formats for test.xml, but none seem to
> work.  Any help is appreciated.
> 
> Thank you for your time,
> Chad
> 
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]
> 



Siegfried Goeschl
CTO
=================================
IT20one GmbH
mail: [EMAIL PROTECTED]
phone: +43-1-9900046
fax: +43-1-52 37 888
www.it20one.at

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to