Re: [css2xslfo-support] Exception on using css2xslfo
Brought to you by:
wdonne
From: <wer...@re...> - 2005-06-03 09:46:50
|
Hi Matthias, When I save the document I see that indeed it is not wellformed. The link element, for example, is not closed. "View Page Source" in Mozilla shows it is closed, but physically it isn't. There is another problem in that the XHTML namespace is not declared, which is required for XHTML documents. If you run it through tidy you will obtain a valid document. Best regards, Werner. Matthias Wessendorf wrote: > hi me again ;) > > I have noticed that exception on *parsing* that link: > http://www.w3schools.com/xhtml/xhtml_reference.asp > > the html validator of firefox (using Tidy) tell me, page is valid > > no error or warning. > > here it goes. (Game.main() is my test class ;)) > > > > > be.re.css.CSSToXSLFOException: The element type "link" must be terminated by the matching end-tag "</link>". > at be.re.css.CSSToXSLFO.convert(CSSToXSLFO.java:142) > at be.re.css.CSSToXSLFO.main(CSSToXSLFO.java:277) > at pb.Game.main(Game.java:40) > Caused by: > org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at be.re.xml.sax.ProtectEntityResolverFilter.parse(ProtectEntityResolverFilter.java:42) > at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) > at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) > at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) > at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) > at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) > at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134) > at be.re.css.CSSToXSLFOFilter.parse(CSSToXSLFOFilter.java:237) > at be.re.css.CSSToXSLFO.convert(CSSToXSLFO.java:137) > at be.re.css.CSSToXSLFO.main(CSSToXSLFO.java:277) > at pb.Game.main(Game.java:40) > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr_______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support > > -- Werner Donné -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |