RE: should fop fail when xml file contains DOCTYPE?

2001-10-19 Thread Matthew L. Avizinis

OK, I've found it -- fop doesn't like the URL's I put in there "file://"
whereas if I use this in an XSLT file, Xalan doesn't seem to mind when I
process other things that don't involve fop.  If I take that off the front,
fop doesn't complain any longer.  But, correct me if I'm wrong, file://etc.
is a correct URL isn't it?
thanks,
matthew a

Hello Keiron (please forgive my familiarity even though we've never actually
met),

Actually, that was the full error message.  That's the only thing it emits;
then stops.
xhtml-lat1.ent is actually an absolute path on our network as below so it
really doesn't have any bearing, I would think.

%XHTML-lat1;

%XHTML-special;

%XHTML-symbol;
]>

Also, yes I have declared the fo namespace in the xslt file as follows:


http://www.w3.org/1999/XSL/Transform";
xmlns:fo="http://www.w3.org/1999/XSL/Format";>

since that is the only place it is needed not in the .xml source files.

I have since found, however, that if I define the three entities above in a
separate file by themselves and then declare a _single_ entity reference to
that new external file fop runs normally and character references are
inserted properly.
Curious.
I appreciate your current and future effort.
matthew a

> -Original Message-
> From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 19, 2001 2:39 AM
> To: [EMAIL PROTECTED]
> Subject: Re: should fop fail when xml file contains DOCTYPE?
>
>
> I don't see any reason why it wouldn't work.
> Are the files (eg. XHTML-DTD/xhtml-lat1.ent) available relative to where
> fop is being run or relative to the document (depends on how it is being
> run)?
>
> I hope you have declared the namespace for fo (unlike in the sample).
>
> Can you turn on debugging (-d on the command line) and see what the full
> error message is?
>
> On Fri, 19 Oct 2001 00:44:32 Matthew L. Avizinis wrote:
> > 
> >  >  >  "XHTML-DTD/xhtml-lat1.ent">
> >   %XHTML-lat1;
> >  >  "XHTML-DTD/xhtml-special.ent">
> >  %XHTML-special;
> >  >  "XHTML-DTD/xhtml-symbol.ent">
> >  %XHTML-symbol;
> > ]>
> > 
> > ...
> > 
> >
> > Is fop 0.20.2 or 0.20.1 supposed to fail when the above DOCTYPE is
> > included
> > in an xml file?  That is, are DOCTYPES allowed in xml files processed
> > with
> > fop?  It works without it and generates "[ERROR] R" when it's included.
> > Xerces and Xalan don't seem to have any problems with it, so I'm
> > expecting
> > it to be fop.
> > thanks,
> >
> >Matthew L. Avizinis <mailto:[EMAIL PROTECTED]>
> > Gleim Publications, Inc.
> >4201 NW 95th Blvd.
> >  Gainesville, FL 32606
> > (352)-375-0772 ext. 101
> >   www.gleim.com <http://www.gleim.com>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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




RE: should fop fail when xml file contains DOCTYPE?

2001-10-19 Thread Matthew L. Avizinis

Hello Keiron (please forgive my familiarity even though we've never actually
met),

Actually, that was the full error message.  That's the only thing it emits;
then stops.
xhtml-lat1.ent is actually an absolute path on our network as below so it
really doesn't have any bearing, I would think.

%XHTML-lat1;

%XHTML-special;

%XHTML-symbol;
]>

Also, yes I have declared the fo namespace in the xslt file as follows:


http://www.w3.org/1999/XSL/Transform";
xmlns:fo="http://www.w3.org/1999/XSL/Format";>

since that is the only place it is needed not in the .xml source files.

I have since found, however, that if I define the three entities above in a
separate file by themselves and then declare a _single_ entity reference to
that new external file fop runs normally and character references are
inserted properly.
Curious.
I appreciate your current and future effort.
matthew a

> -Original Message-
> From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 19, 2001 2:39 AM
> To: [EMAIL PROTECTED]
> Subject: Re: should fop fail when xml file contains DOCTYPE?
>
>
> I don't see any reason why it wouldn't work.
> Are the files (eg. XHTML-DTD/xhtml-lat1.ent) available relative to where
> fop is being run or relative to the document (depends on how it is being
> run)?
>
> I hope you have declared the namespace for fo (unlike in the sample).
>
> Can you turn on debugging (-d on the command line) and see what the full
> error message is?
>
> On Fri, 19 Oct 2001 00:44:32 Matthew L. Avizinis wrote:
> > 
> >  >  >  "XHTML-DTD/xhtml-lat1.ent">
> >   %XHTML-lat1;
> >  >  "XHTML-DTD/xhtml-special.ent">
> >  %XHTML-special;
> >  >  "XHTML-DTD/xhtml-symbol.ent">
> >  %XHTML-symbol;
> > ]>
> > 
> > ...
> > 
> >
> > Is fop 0.20.2 or 0.20.1 supposed to fail when the above DOCTYPE is
> > included
> > in an xml file?  That is, are DOCTYPES allowed in xml files processed
> > with
> > fop?  It works without it and generates "[ERROR] R" when it's included.
> > Xerces and Xalan don't seem to have any problems with it, so I'm
> > expecting
> > it to be fop.
> > thanks,
> >
> >Matthew L. Avizinis <mailto:[EMAIL PROTECTED]>
> > Gleim Publications, Inc.
> >4201 NW 95th Blvd.
> >  Gainesville, FL 32606
> > (352)-375-0772 ext. 101
> >   www.gleim.com <http://www.gleim.com>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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




Re: should fop fail when xml file contains DOCTYPE?

2001-10-18 Thread Keiron Liddle

I don't see any reason why it wouldn't work.
Are the files (eg. XHTML-DTD/xhtml-lat1.ent) available relative to where
fop is being run or relative to the document (depends on how it is being
run)?

I hope you have declared the namespace for fo (unlike in the sample).

Can you turn on debugging (-d on the command line) and see what the full
error message is?

On Fri, 19 Oct 2001 00:44:32 Matthew L. Avizinis wrote:
> 
>"XHTML-DTD/xhtml-lat1.ent">
>   %XHTML-lat1;
>   "XHTML-DTD/xhtml-special.ent">
>  %XHTML-special;
>   "XHTML-DTD/xhtml-symbol.ent">
>  %XHTML-symbol;
> ]>
> 
> ...
> 
> 
> Is fop 0.20.2 or 0.20.1 supposed to fail when the above DOCTYPE is
> included
> in an xml file?  That is, are DOCTYPES allowed in xml files processed
> with
> fop?  It works without it and generates "[ERROR] R" when it's included.
> Xerces and Xalan don't seem to have any problems with it, so I'm
> expecting
> it to be fop.
> thanks,
> 
>Matthew L. Avizinis 
> Gleim Publications, Inc.
>4201 NW 95th Blvd.
>  Gainesville, FL 32606
> (352)-375-0772 ext. 101
>   www.gleim.com 

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