Hi Active State Komodo (www.activestate.com/Products/Komodo) does full syntax analysis on HTML and XSLT and tests other XML dialects for well-formedness. A personal or academic licence is inexpensive but a commercial licence would need justifying. It's worth looking at the evaluation download.
John Marshall Accurate Software The Courtyard, Denmark Street, Wokingham, Berkshire, RG40 2AZ, UK. Tel: +44 (0)118 977 3889 Fax: +44 (0)118 977 1260 http://www.accuratesoftware.com <http://www.accuratesoftware.com> -----Original Message----- From: Partridge, Michael [mailto:[EMAIL PROTECTED] Sent: 07 May 2003 14:10 To: [EMAIL PROTECTED] Subject: RE: fop processing I was bored, so I opened your .fo in XMLSpy, changed it to pretty-print and searched for <fo:flow until I saw something wrong ;) Sorry, I don't know about any apps that could validate (correct term?) .fo. Mike -----Original Message----- From: Jason Novotny [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2003 8:05 AM To: [EMAIL PROTECTED] Subject: Re: fop processing Hi, Thanks Michael-- I think I fixed that and now I see the same problem so I have to check other files-- is there some kind of "foplint" program that can help me track these issues down? What do you use? Thanks, Jason Partridge, Michael wrote: >Looks like you've got some content in a flow but outside of a block. Right at the beginning of Chapter 6. Snippet: > > <fo:flow flow-name="xsl-region-body"> > <fo:block font-family="sans-serif"> > <fo:block margin-left="-4pc"> > <fo:block font-weight="bold" font-size="24.8832pt"> > <fo:block hyphenate="false" space-before.maximum="12pt" space-before.minimum="8pt" space-before.optimum="10pt" keep-with-next.within-column="always">Chapter 6. Portlet Service Framework</fo:block> > </fo:block> > </fo:block> > <fo:block/> > </fo:block> > >Portlet services encapsulate business or logic operations that can be re-used among portlets. >The use of portlet services helps to minimize the amount of logic placed in a portlet and present it as >a reusable library to other portlets. In addition, portlet services offer the following major advantages: > <fo:list-block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em" space-after.optimum="1em" space-after.minimum="0.8em" space-after.maximum="1.2em" provisional-label-separation="0.2em" id="N1055B" provisional-distance-between-starts="1.5em"> > >Mike > >-----Original Message----- >From: Jason Novotny [mailto:[EMAIL PROTECTED] >Sent: Wednesday, May 07, 2003 7:25 AM >To: [EMAIL PROTECTED] >Subject: fop processing > > > >Hi, > > I'm using NWalsh's stylesheets and docbook and FOP and during the >rendering to pdf I get this error: > > [java] [ERROR] inline formatting objects cannot be directly under flow > [java] at >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn own >Source) > [java] at >org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > [java] at >org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > [java] at >org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > [java] at org.apache.fop.apps.Driver.render(Driver.java:457) > [java] at >org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69) > [java] at org.apache.fop.apps.Fop.main(Fop.java:19) > [java] Java Result: 2 > > > I've attached my FOP-- are there any easy ways to see where FOP has >gone bad besides trying to cut and paste away at my docbook until the >problem goes away? I've also used xmllint to make sure it has all >references. > > Thanks, Jason > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The UK office of Accurate Software will be moving offices from May 19th to the following new location: 80 Peach Street, Wokingham, Berkshire, RG40 1XH. The existing telephone and fax numbers will remain unchanged. Accurate Software [EMAIL PROTECTED] www.accuratesoftware.com Europe . North America . Australasia . Africa The information in this email is confidential and privileged and is intended only for the use of the individual or entity listed above. If you are neither the intended individual, or entity listed above, nor the person responsible for the delivery of this email to the intended recipients, you are hereby notified that any unauthorised distribution, copying or use of this email is prohibited. If you have received this email in error, please notify the Accurate system manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889. The views expressed in this communication may not necessarily be the views held by the Accurate Group. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
