Re: FOP2.0 Docbook XSL NullPointerException

2015-08-22 Thread Rahman USTA
It is my sorry, there is no problem with fop-xsl. I will send a new email
to fop-users with related custom xsl.

2015-08-20 19:25 GMT+03:00 Rahman USTA rahman.usta...@gmail.com:

 Hi Chris, I'm using default latest docbook fo xsl. I'll use fop-user for
 next.

 Thanks

 2015-08-20 14:17 GMT+03:00 Chris Bowditch bowditch_ch...@hotmail.com:

 Hi There,

 Unfortunately not, that's the XML. We need XSL-FO (which is the input to
 FOP) to help you. Also, this is the wrong mailing list for FOP user
 questions. You should subscribe to fop-us...@xmlgraphics.apache.org to
 ask questions about using FOP.

 Thanks,

 Chris

 On 17/08/2015 18:05, Rahman USTA wrote:

 Hello;

 After investigation, followed docbook content failed;

 ?xml version=1.0
 encoding=UTF-8??asciidoc-toc??asciidoc-numbered?article xmlns=
 http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink;
 version=5.0 xml:lang=en
 info
 titleSelam/title
 date2015-08-17/date
 /info
 section xml:id=_selam
 titleSelam/title
 note
 simparaHello world/simpara
 programlisting language=javascript linenumbering=unnumbered//
 code/programlisting
 /note
 /section
 /article

 Is it enough?


 2015-08-17 9:56 GMT+03:00 Pascal Sancho psancho@gmail.com mailto:
 psancho@gmail.com:

 Hi,
 please, add further information:
  - full error trace,
  - attached test case: short XSL-FO (the result of XML+docbook
 transformation, not the XML itself) that demonstrates the issue.


 2015-08-15 17:40 GMT+02:00 Rahman USTA rahman.usta...@gmail.com
 mailto:rahman.usta...@gmail.com:
  Hello;
 
  I want to switch 1.1 to 2.0 but when converting Docbook5 to PDF
 I'm getting;
 
  docbook/fo/docbook.xsl; Line #312; Column #54;
  java.lang.NullPointerException
 
  How can we solve this problem?
 
  Thanks.
 
  --
  Rahman USTA
  Istanbul JUG
  https://github.com/rahmanusta



 --
 pascal




 --
 Rahman USTA
 Istanbul JUG
 https://github.com/rahmanusta http://www.kodcu.com/





 --
 Rahman USTA
 Istanbul JUG
 https://github.com/rahmanusta http://www.kodcu.com/




-- 
Rahman USTA
Istanbul JUG
https://github.com/rahmanusta http://www.kodcu.com/


Re: FOP2.0 Docbook XSL NullPointerException

2015-08-20 Thread Rahman USTA
Hi Chris, I'm using default latest docbook fo xsl. I'll use fop-user for
next.

Thanks

2015-08-20 14:17 GMT+03:00 Chris Bowditch bowditch_ch...@hotmail.com:

 Hi There,

 Unfortunately not, that's the XML. We need XSL-FO (which is the input to
 FOP) to help you. Also, this is the wrong mailing list for FOP user
 questions. You should subscribe to fop-us...@xmlgraphics.apache.org to
 ask questions about using FOP.

 Thanks,

 Chris

 On 17/08/2015 18:05, Rahman USTA wrote:

 Hello;

 After investigation, followed docbook content failed;

 ?xml version=1.0
 encoding=UTF-8??asciidoc-toc??asciidoc-numbered?article xmlns=
 http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink;
 version=5.0 xml:lang=en
 info
 titleSelam/title
 date2015-08-17/date
 /info
 section xml:id=_selam
 titleSelam/title
 note
 simparaHello world/simpara
 programlisting language=javascript linenumbering=unnumbered//
 code/programlisting
 /note
 /section
 /article

 Is it enough?


 2015-08-17 9:56 GMT+03:00 Pascal Sancho psancho@gmail.com mailto:
 psancho@gmail.com:

 Hi,
 please, add further information:
  - full error trace,
  - attached test case: short XSL-FO (the result of XML+docbook
 transformation, not the XML itself) that demonstrates the issue.


 2015-08-15 17:40 GMT+02:00 Rahman USTA rahman.usta...@gmail.com
 mailto:rahman.usta...@gmail.com:
  Hello;
 
  I want to switch 1.1 to 2.0 but when converting Docbook5 to PDF
 I'm getting;
 
  docbook/fo/docbook.xsl; Line #312; Column #54;
  java.lang.NullPointerException
 
  How can we solve this problem?
 
  Thanks.
 
  --
  Rahman USTA
  Istanbul JUG
  https://github.com/rahmanusta



 --
 pascal




 --
 Rahman USTA
 Istanbul JUG
 https://github.com/rahmanusta http://www.kodcu.com/





-- 
Rahman USTA
Istanbul JUG
https://github.com/rahmanusta http://www.kodcu.com/


Re: FOP2.0 Docbook XSL NullPointerException

2015-08-17 Thread Rahman USTA
Hello;

After investigation, followed docbook content failed;

?xml version=1.0
encoding=UTF-8??asciidoc-toc??asciidoc-numbered?article xmlns=
http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink;
version=5.0 xml:lang=en
info
titleSelam/title
date2015-08-17/date
/info
section xml:id=_selam
titleSelam/title
note
simparaHello world/simpara
programlisting language=javascript linenumbering=unnumbered//
code/programlisting
/note
/section
/article

Is it enough?


2015-08-17 9:56 GMT+03:00 Pascal Sancho psancho@gmail.com:

 Hi,
 please, add further information:
  - full error trace,
  - attached test case: short XSL-FO (the result of XML+docbook
 transformation, not the XML itself) that demonstrates the issue.


 2015-08-15 17:40 GMT+02:00 Rahman USTA rahman.usta...@gmail.com:
  Hello;
 
  I want to switch 1.1 to 2.0 but when converting Docbook5 to PDF I'm
 getting;
 
  docbook/fo/docbook.xsl; Line #312; Column #54;
  java.lang.NullPointerException
 
  How can we solve this problem?
 
  Thanks.
 
  --
  Rahman USTA
  Istanbul JUG
  https://github.com/rahmanusta



 --
 pascal




-- 
Rahman USTA
Istanbul JUG
https://github.com/rahmanusta http://www.kodcu.com/


How to set uriresolver in 2.0

2015-08-14 Thread Rahman USTA
I'm not able to set FOUserAgent#setURIResolver in 2.0 How can I set it ?

-- 
Rahman USTA
Istanbul JUG
https://github.com/rahmanusta http://www.kodcu.com/


How to InputHandler parameters file to classpath/jar file

2014-07-31 Thread Rahman USTA
Hi, im using Fop to render docbook to pdf.

Im using InputHandler class for it.

When i declare some parameters to fop, with for example ;

Vector params = new Vector();
params.add(highlight.xslthl.config);
params.add(appDir.resolve(docbook-config/xslthl-config.xml).toUri().toString());
params.add(admon.graphics.path);
params.add(appDir.resolve(docbook/images/).toUri().toString());
params.add(callout.graphics.path);
params.add(appDir.resolve(docbook/images/callouts/).toUri().toString());

There is no problem, the files in filesystem now, how can i refer this
files from inside jars classpath?

-- 
Rahman USTA
www.kodcu.com