|
Re: [xmlc] XHTML output?: msg#00022java.enhydra.xmlc
Try something like this in options.xmlc... <?xml version='1.0'?> <!DOCTYPE xmlc PUBLIC " -//ENHYDRA//DTD XMLC 1.1//EN" "http://www.enhydra.org/xml/xmlc/xmlc-1.1.dtd"> <xmlc> <compileOptions classOutputRoot="." warnings="true"/> <inputDocument documentFormat="xml" processSSI="true"/> <parser name="xerces"/> <documentClass deferParsing="true" dom="xhtml"/> <domEdits> <deleteElement elementClasses="RemoveMe"/> <urlMapping newUrl="http://bar.com" url="http://foo.com"/> </domEdits> </xmlc> WFM. And make sure not to use the recompilation parmeter. That is obsolete. "deferParsing" takes its place. "createGetTagMethods" is also unnecessary. Jake At 09:12 AM 9/2/2005 -0700, you wrote: >Great idea, but... > >java.lang.IllegalArgumentException: Invalid DOMType: >"xhtml", expected >one of "lazydom" or "xerces > at >org.enhydra.xml.xmlc.metadata.DOMType.getType(DOMType.java:159) > at >org.enhydra.xml.xmlc.metadata.DocumentClass.getDom(DocumentClass.java:306) > at >org.enhydra.xml.xmlc.metadata.DocumentClass.getDomFactoryClass(DocumentClass >.java:329) > at >org.enhydra.xml.xmlc.compiler.Parse.parse(Parse.java:228) > at >org.enhydra.xml.xmlc.deferredparsing.DocumentLoaderImpl.parseDocument(Docume >ntLoaderImpl.java:518) > at >org.enhydra.xml.xmlc.deferredparsing.DocumentLoaderImpl.getCacheEntry(Docume >ntLoaderImpl.java:168) > at >org.enhydra.xml.xmlc.deferredparsing.DocumentLoaderImpl.getDocument(Document >LoaderImpl.java:222) > >(might wanna fix that missing final quote) > >--- Jacob Kjome <hoju@xxxxxxxx> wrote: > >> Quoting Erik Rasmussen <i_am_erik@xxxxxxxxx>: >> >> > >> > --- Jacob Kjome <hoju@xxxxxxxx> wrote: >> > > I'll have to see if I can reproduce this when I >> get >> > > home from work. Haven't >> > > seen that happen, personally. What version of >> XMLC >> > > are you using? >> > >> > 2.2.6 >> > >> > > Also, what DOMFactory are you using? >> > >> > lazydom >> > >> > > One of these?... >> > > >> > >> >http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/xmlc/xmlc/xmlc/modules/xh >tml/src/org/enhydra/xml/xhtml/ >> > >> > Hmm. I'm setting it in my option.xmlc: >> > <documentClass deferParsing="true" >> > recompilation="true" >> > createGetTagMethods="true" >> > dom="lazydom"/> >> > >> >> try dom="xhtml" >> >> Might be a couple other things to configure here, >> but I can't recall offhand. >> I'll double check when I get home. >> >> > >From the documentation on this page, it looked >> like my >> > only options were xerces and lazydom. Presumably >> > there's an "xhtml" option or something? >> > >> >http://xmlc.objectweb.org/doc/doc/xmlc/user-manual/metadata/xmlc-docclass-xs >d.html#documentClass >> > >> >> Yep, docs haven't been updated. Sorry about that. >> >> > > I won't be able to comment more today until I >> get >> > home. >> > >> > That's the problem with open source...all the >> > developers have day jobs! :-) >> > >> >> I'm definitely open to being paid for open source >> development :-) >> >> > Erik >> >> >> >> >> > >> -- >> You receive this message as a subscriber of the >> xmlc@xxxxxxxxxxxxx mailing list. >> To unsubscribe: >> mailto:xmlc-unsubscribe@xxxxxxxxxxxxx >> For general help: >> mailto:sympa@xxxxxxxxxxxxx?subject=help >> ObjectWeb mailing lists service home page: >> http://www.objectweb.org/wws >> > > > > >__________________________________ >Do you Yahoo!? >Read only the mail you want - Yahoo! Mail SpamGuard. >http://promotions.yahoo.com/new_mail > > >-- >You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing >list. >To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx >For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help >ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [xmlc] XHTML output?, Erik Rasmussen |
|---|---|
| Next by Date: | Re: [xmlc] XHTML output?, Jacob Kjome |
| Previous by Thread: | Re: [xmlc] XHTML output?, Erik Rasmussen |
| Next by Thread: | Re: [xmlc] XHTML output?, Jacob Kjome |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |