View pdf

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

View pdf

joac

Hi,

 

I have a problem with the View as PDF in the DMV example.

I have integrated this example in my ops server but when I press the button I get the following error:

 

Content is not allowed in prolog.

 

Does anybody know what could be the cause of my problem?

 

Thanks again,

Jordi

 

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: View pdf

Erik Bruchez
Administrator
Jordi,

This means that the XML parser founds some content in a file before
markup, typically before the root element or XML declaration. Can happen
if you slipped on your keyboard and inserted a character at the
beginning of a static document, or if you somehow, somewhere produce a
document that is not XML.

-Erik

Jordi Amatller wrote:

> Hi,
>
>  
>
> I have a problem with the View as PDF in the DMV example.
>
> I have integrated this example in my ops server but when I press the
> button I get the following error:
>
>  
>
> Content is not allowed in prolog.
>
>  
>
> Does anybody know what could be the cause of my problem?
>
>  
>
> Thanks again,
>
> Jordi
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: View pdf

joac
Erik,

The problem occurs when trying to view the pdf document using
http-serializer. If I make the file using file-serializer it generates the
file correctly.
One solution for my problem could be generate a pdf file (oxf:/file.pdf) and
then open a new browser window with the generated file, something like
open.window('oxf:/file.pdf',...). But I don't know the access path of the
pdf file, because oxf:/file.pdf doesn't work.

Thanks,
Jord



-----Mensaje original-----
De: Erik Bruchez [mailto:[hidden email]] En nombre de Erik Bruchez
Enviado el: martes, 29 de agosto de 2006 0:57
Para: [hidden email]
Asunto: Re: [ops-users] View pdf

Jordi,

This means that the XML parser founds some content in a file before
markup, typically before the root element or XML declaration. Can happen
if you slipped on your keyboard and inserted a character at the
beginning of a static document, or if you somehow, somewhere produce a
document that is not XML.

-Erik

Jordi Amatller wrote:

> Hi,
>
>  
>
> I have a problem with the View as PDF in the DMV example.
>
> I have integrated this example in my ops server but when I press the
> button I get the following error:
>
>  
>
> Content is not allowed in prolog.
>
>  
>
> Does anybody know what could be the cause of my problem?
>
>  
>
> Thanks again,
>
> Jordi
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws