Can not be compiled with version1_2_3 ? Any idea ?
/***************Document.xml File block **************************************/
<entity_list>
<entity_definition>
<!-- global entity information -->
<entity_name>Document</entity_name>
<entity_package_name>com.dicarta.infra.dms.adapter.dicartafs.server
.....
/***************Following is Comply error **************************************/
[codegen] 703 [main] DEBUG com.dicarta.infra.logging.NullLogger -
[codegen] java.lang.Exception: File "D:\depot\src\com\dicarta\infra\dms\adapter\dicartafs\Document.xml" not found.
[codegen] at com.dicarta.infra.persistence.codegen.XmlParser.init(XmlParser.java:64)
[codegen] at com.dicarta.infra.persistence.codegen.PersisterGenerator.readDataFromXMLFile(PersisterGenerator.java:2184)
[codegen] at com.dicarta.infra.persistence.codegen.PersisterGenerator.execute(PersisterGenerator.java:75)
[codegen] at com.dicarta.tools.ant.PersistenceCodeGen.execute(PersistenceCodeGen.java:60)
[codegen] at org.apache.tools.ant.Task.perform(Task.java:217)
[codegen] at org.apache.tools.ant.Target.execute(Target.java:186)
[codegen] at org.apache.tools.ant.Target.performTasks(Target.java:204)
[codegen] at org.apache.tools.ant.Project.executeTarget(Project.java:855)
[codegen] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:290)
[codegen] at org.apache.tools.ant.Task.perform(Task.java:217)
[codegen] at org.apache.tools.ant.Target.execute(Target.java:186)
[codegen] at org.apache.tools.ant.Target.performTasks(Target.java:204)
[codegen] at org.apache.tools.ant.Project.executeTarget(Project.java:855)
[codegen] at org.apache.tools.ant.Project.executeTargets(Project.java:809)
[codegen] at org.apache.tools.ant.Main.runBuild(Main.java:468)
[codegen] at org.apache.tools.ant.Main.start(Main.java:159)
[codegen] at org.apache.tools.ant.Main.main(Main.java:182)
[codegen] 703 [main] DEBUG com.dicarta.infra.logging.NullLogger -
[codegen] java.lang.Exception: File "D:\depot\src\com\dicarta\infra\dms\adapter\dicartafs\Document.xml" not found.
-----Original Message-----
From: TJ Smith [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 10:47 AM
To: [EMAIL PROTECTED]
Subject: Re: FopServlet question
Thanx Keiron
I solved the problem - the FopServlet with xsl and xml arguments does not
work in IE5.X - its the old problem with IE paying attention only to file
extensions. The solution is to add the suffix "a=b.pdf" to the URL that
invokes FopServlet.
TJ
----- Original Message -----
From: "Keiron Liddle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 04, 2002 3:35 AM
Subject: Re: FopServlet question
> Hi,
>
> Lets consider what this problem could be:
> - you are getting a transform error when using xml and xslt (stylesheet
> error)
> - the files from the distribution also have the problem
> - the files in the distribution work in the distribution
> - your file probably also work on the command line
> - the FopServlet works (I have tested it)
>
> This immediately tells us the it is a problem with the environment. What
> is different? You are running in a servlet. What libraries does the
> servlet use to run? I'm sure it is using an xml parser and possibly an
> xslt processor.
>
> So fix your classpath, ie. remove old/incompatible versions of xml
> libararies. (Note: jdk1.4 includes an xml parser)
>
> On 2002.03.02 04:08 TJ Smith wrote:
> > Hello
> > The xsl and xml files are rather huge and most likely would not be
> > welcomed
> > with open arms by the group :-) I have attached relevant bits of both
> > files
> > and the error walkback from executing FopServlet below. I have also
> > tried
> > the FopPrintServlet with identical results viz. works fine with 'fo'
> > parameter, squawks about "stylesheet requires attribute: version' if
> > invoked
> > with 'xml' and 'xsl' parameters. I tried using xsl and xml files from
> > the
> > fop 20.3 distribution - and they produced the same disappointing
results.
> > I
> > have recompiled both servlets without error - and have the jar files
that
> > came with fop 20.3 in the path. This is making me crazy - crazier,
> > actually
> > :-) - so any and all advice is appreciated!
> >
> > Note that I did have the XSLT and FO namespaces in he stylesheet - but
> > thanks for the suggestion :-)
>