RE: javax.xml.transform.TransformerFactory.newInstance() throws a ex ception

2002-05-30 Thread Lara Lara, Pedro
Title: RE: javax.xml.transform.TransformerFactory.newInstance()  throws a ex	ception





Thank you, this page is very interesting. 


-Mensaje original-
De: Oleg Tkachenko [mailto:[EMAIL PROTECTED]]
Enviado el: miƩrcoles, 29 de mayo de 2002 17:49
Para: [EMAIL PROTECTED]
Asunto: Re: javax.xml.transform.TransformerFactory.newInstance() throws
a ex ception



Lara Lara, Pedro wrote:


 This line is in a method of org.apache.fop.tools.xslt.TraxTransform.java :
 
 TransformerFactory factory = TransformerFactory.newInstance();
 
 From this line is throws a exception what it can not be catched with 
 Exception class.


xslt engine probably cannot be found, do you have any of those in the 
classpath? See http://www.ibiblio.org/xml/books/xmljava/chapters/ch17s02.html 
about locating transformers.


-- 
Oleg Tkachenko
Multiconn International, Israel



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





FOP port to C# on SourceForge

2002-05-30 Thread Sarandos Steve

I have released my initial port of FOP 0.20.3 to C# that I mentioned a few
months ago on this list.  Unfortunately the project I was planning on using
it for has taken a different direction and I haven't had much time to clean
up the code and make it pretty.  However it does run in Visual Studio.NET
and right now just produces EMF page images.  I haven't had a chance to
fully port the PDFRenderer.

Even though the code is a bit of a mess as compared to the professional
standards that we enjoy from Apache, I thought I would release the code so
that any one that is interested can have a look and perhaps contribute to
it's further development.

http://sourceforge.net/projects/fop-dotnet

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




How do you edit your XML files?

2002-05-30 Thread ewitness - Ben Fowler

(I was tenpted to send this also to the xml-dev list which I also
read, in the sense of admire the post that swoosh way over my head,
as there has just been a short thread on XML editors; but I cross-post
no more often than I spam).

A curious ommission from the Apache's XML project is an Open
Source XML editor. 

Perhaps the majority of people here use emacs/PSGMLS. But there
must be many who do not wish to. vi users for a start.

A 'proper' XML editor/IDE would be very useful for examining XML
and FO files, parsing and validating them and processing with
XSLT.

Is there already a project in existence that does this?

Would people here contribute to one? I am interested in The
XML Editor, one that would run on the platforms that I use
MacOS and KDE, and also ones that coworkers use, (MS Windows 98).

If so, how should it be licensed, so as to be compatible with
(as a minimum Xerces and Xalan) both now and in the future?

Any thoughts or advice gratefully received.

Ben.


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




external-graphic

2002-05-30 Thread Kelvin Zheng
Title: external-graphic





Has anyone successfully displayed image at page header as the following:


 fo:static-content flow-name=xsl-region-before
  fo:block
 fo:external-graphic src="http://xml.apache.org/fop/resources/logo.gif
 /fo:external-graphic
  /fo:block
 /fo:static-content


The image doesn't show up for me and received a warning message Warning: Some static content could not fit in the area..

I tried very small image. It doesn't help.


Thanks,
Kelvin





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



Re: external-graphic

2002-05-30 Thread J.Pietschmann

Kelvin Zheng wrote:
 Has anyone successfully displayed image at page header as the following:
 
 fo:static-content flow-name=xsl-region-before
 fo:block
 fo:external-graphic 
 src=http://xml.apache.org/fop/resources/logo.gif;
 /fo:external-graphic
 /fo:block
 /fo:static-content
 
 The image doesn't show up for me and received a warning message 
 Warning: Some static content could not fit in the area..
 
 I tried very small image. It doesn't help.

It's probably still too large. Try to scale it down, for example


   fo:external-graphic height=10mm
 src=http://xml.apache.org/fop/resources/logo.gif/

J.Pietschmann


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




cvs commit: xml-fop/src/org/apache/fop/pdf ASCII85Filter.java ASCIIHexFilter.java PDFAnnotList.java PDFArray.java PDFCIDFont.java PDFCIDSystemInfo.java PDFDocument.java PDFEncoding.java PDFFileSpec.java PDFFont.java PDFFontDescriptor.java PDFFunction.java PDFGoTo.java PDFGoToRemote.java PDFICCStream.java PDFInfo.java PDFLink.java PDFOutline.java PDFPage.java PDFPages.java PDFPattern.java PDFRectangle.java PDFResources.java PDFRoot.java PDFShading.java PDFStream.java PDFT1Stream.java PDFTTFStream.java PDFWArray.java PDFXObject.java

2002-05-30 Thread chrisg

chrisg  02/05/30 17:17:17

  Modified:.Tag: fop-0_20_2-maintain CHANGES
   src/org/apache/fop/pdf Tag: fop-0_20_2-maintain
ASCII85Filter.java ASCIIHexFilter.java
PDFAnnotList.java PDFArray.java PDFCIDFont.java
PDFCIDSystemInfo.java PDFDocument.java
PDFEncoding.java PDFFileSpec.java PDFFont.java
PDFFontDescriptor.java PDFFunction.java
PDFGoTo.java PDFGoToRemote.java PDFICCStream.java
PDFInfo.java PDFLink.java PDFOutline.java
PDFPage.java PDFPages.java PDFPattern.java
PDFRectangle.java PDFResources.java PDFRoot.java
PDFShading.java PDFStream.java PDFT1Stream.java
PDFTTFStream.java PDFWArray.java PDFXObject.java
  Log:
  Fixed PDF-Renderer to work on EBCDIC systems
  (Actually on systems where file.encoding != ASCII/ISO-8859)
   Submitted by: Jason West [EMAIL PROTECTED]
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.10.2.16 +4 -0  xml-fop/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /home/cvs/xml-fop/CHANGES,v
  retrieving revision 1.10.2.15
  retrieving revision 1.10.2.16
  diff -u -r1.10.2.15 -r1.10.2.16
  --- CHANGES   8 May 2002 15:18:48 -   1.10.2.15
  +++ CHANGES   31 May 2002 00:17:16 -  1.10.2.16
  @@ -18,6 +18,10 @@
 Submitted by: Michal Buchtik [EMAIL PROTECTED]
   - Added support for background-image
 Submitted by: Michael Gratton [EMAIL PROTECTED]
  +- Fixed PDF-Renderer to work on EBCDIC systems 
  +  (Actually on systems where file.encoding != ASCII/ISO-8859)
  +  Submitted by: Jason West [EMAIL PROTECTED]
  +  
   ==
   Done since 0.20.2 release
   *** General
  
  
  
  No   revision
  
  
  No   revision
  
  
  1.3.2.1   +9 -6  xml-fop/src/org/apache/fop/pdf/ASCII85Filter.java
  
  Index: ASCII85Filter.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/pdf/ASCII85Filter.java,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- ASCII85Filter.java30 Jul 2001 20:29:29 -  1.3
  +++ ASCII85Filter.java31 May 2002 00:17:16 -  1.3.2.1
  @@ -1,5 +1,5 @@
   /*
  - * $Id: ASCII85Filter.java,v 1.3 2001/07/30 20:29:29 tore Exp $
  + * $Id: ASCII85Filter.java,v 1.3.2.1 2002/05/31 00:17:16 chrisg Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
  @@ -9,6 +9,7 @@
   
   import java.io.ByteArrayOutputStream;
   import java.io.IOException;
  +import java.io.UnsupportedEncodingException;
   
   public class ASCII85Filter extends PDFFilter {
   private static final char ASCII85_ZERO = 'z';
  @@ -87,12 +88,14 @@
   
   }
   // finally write the two character end of data marker
  -buffer.write(ASCII85_EOD.getBytes(), 0,
  - ASCII85_EOD.getBytes().length);
  -
  -
  +byte[] eod;
  +try {
  +eod = ASCII85_EOD.getBytes(PDFDocument.ENCODING);
  +} catch (UnsupportedEncodingException ue) {
  +eod = ASCII85_EOD.getBytes();
  +}   
  +buffer.write(eod, 0, eod.length);
   byte[] result = buffer.toByteArray();
  -
   
   // assert that we have the correct outgoing length
   /*
  
  
  
  1.2.2.1   +7 -3  xml-fop/src/org/apache/fop/pdf/ASCIIHexFilter.java
  
  Index: ASCIIHexFilter.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/pdf/ASCIIHexFilter.java,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- ASCIIHexFilter.java   30 Jul 2001 20:29:29 -  1.2
  +++ ASCIIHexFilter.java   31 May 2002 00:17:16 -  1.2.2.1
  @@ -1,5 +1,5 @@
   /*
  - * $Id: ASCIIHexFilter.java,v 1.2 2001/07/30 20:29:29 tore Exp $
  + * $Id: ASCIIHexFilter.java,v 1.2.2.1 2002/05/31 00:17:16 chrisg Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
  @@ -8,6 +8,7 @@
   
   import java.io.ByteArrayOutputStream;
   import java.io.IOException;
  +import java.io.UnsupportedEncodingException;
   
   public class ASCIIHexFilter extends PDFFilter {
   private static final String ASCIIHEX_EOD = ;
  @@ -32,8 +33,11 @@
   }
   buffer.append(ASCIIHEX_EOD);
   
  -return 

RE: How do you edit your XML files?

2002-05-30 Thread Michiel Verhoef

Hi Ben,

Cooktop does a lot of what you propose here but unfortunately it is windows
only.
Have a look at www.xmlcooktop.com. BTW this gadget is free and you can add a
lot
of functionality (templates, XSL/XML code snippets) easily and you have a
choice
of all kinds of XSLT/FO processors (and you can change/add these if/when
needed).

If only this editor were mulitplatform :-)

Cheers,

Michiel


$ -Original Message-
$ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
$ Sent: donderdag 30 mei 2002 20:12
$ To: [EMAIL PROTECTED]
$ Subject: How do you edit your XML files?
$ 
$ 
$ (I was tenpted to send this also to the xml-dev list which I also
$ read, in the sense of admire the post that swoosh way over my head,
$ as there has just been a short thread on XML editors; but I cross-post
$ no more often than I spam).
$ 
$ A curious ommission from the Apache's XML project is an Open
$ Source XML editor. 
$ 
$ Perhaps the majority of people here use emacs/PSGMLS. But there
$ must be many who do not wish to. vi users for a start.
$ 
$ A 'proper' XML editor/IDE would be very useful for examining XML
$ and FO files, parsing and validating them and processing with
$ XSLT.
$ 
$ Is there already a project in existence that does this?
$ 
$ Would people here contribute to one? I am interested in The
$ XML Editor, one that would run on the platforms that I use
$ MacOS and KDE, and also ones that coworkers use, (MS Windows 98).
$ 
$ If so, how should it be licensed, so as to be compatible with
$ (as a minimum Xerces and Xalan) both now and in the future?
$ 
$ Any thoughts or advice gratefully received.
$ 
$ Ben.
$ 
$ 
$ -
$ To unsubscribe, e-mail: [EMAIL PROTECTED]
$ For additional commands, email: [EMAIL PROTECTED]
$ 

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