Hi, Vincent
I test the xhtml parser. There is the focus:
1. base text format
underline. I think you can fix it.
2. List
both number and bulleted.
The problem is in wikimodel xhtmlparser. It don't parser nested list
correctly. I think it hard to fix but I will try my best.
3. Link
For input <html><body><a
href=\"http://xwiki.org\">xwiki</a></body></html>, the xhtmlparser
generate
beginDocument()
beginParagraph([])
beginFormat([])
xwiki<http://xwiki.org> endFormat([])
endParagraph([])
endDocument()
I use XhtmlParser and EventDumpListener.
But the WikiModelXHTMLParser don't handle the event. Maybe
XDOMGeneratorListener have some problem to generate link block. Any
suggestion about this? Thanks.
4. table
Xhtmlparser can generate table event, but XDOMGeneratorListener don't
handle the event correctly. Is it not finished?
5. img
Xhtmlparser just ignore the <img> tag. But it's OK since I use
imagetagfilter to handle the <img>
6. param of text
like <p align="center">text</p>. how to handle the algin parameter?
I think, if the problem above can be fixed, xhtmlparser will work for
conversion from xhtml to xwiki syntax.
Thanks.
Wang Ning
Hi,
I'm currently adding some stylesheets to Albatross to style the new OpenID
login and registration form
(http://jira.xwiki.org/jira/browse/XSALBATROSS-34). Since those OpenID
styles are used only there I wanted to ask how it is possible to include the
stylesheet just on the login and registration page!? Is there some special
mechanisms?
Thanks,
Markus
Hi Vincent,
1. I found the rendering of boldblock is **bold**, which should be
*bold*, right? The related class is XWikiSyntaxRenderer.
2. I can't find a underline block. Is it missing or just no needed.
How to rendering <u>underline</u> or __underline__
Thanks.
Wang Ning
I have downloded the war distribution of xwiki-workspaces-web-1.0.war. Can you tell me what version of repository corresponds to this war distribution version? I need to modify some files in xwiki core.
Currently, i have repository downloaded from trunk url, and when i try to modify some files xwiki core and update in war distribution, i get version mismatch errors.
TIA
ac
Hello,
I try to compile XWiki platform trunk and when compiling
xwiki-xmldoc-update-plugin, the tests fail:
-------------------------------------------------------------------------------
Test set: com.xpn.xwiki.tool.doc.AbstractDocumentMojoTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.086 sec
<<< FAILURE!
testXMLDocumentLoading(com.xpn.xwiki.tool.doc.AbstractDocumentMojoTest)
Time elapsed: 0.019 sec <<< ERROR!
java.lang.NoClassDefFoundError: com/xpn/xwiki/XWikiContext
at
com.xpn.xwiki.tool.doc.AbstractDocumentMojo.<init>(AbstractDocumentMojo.java:79)
at com.xpn.xwiki.tool.doc.AttachMojo.<init>(AttachMojo.java:38)
at
com.xpn.xwiki.tool.doc.AbstractDocumentMojoTest.testXMLDocumentLoading(AbstractDocumentMojoTest.java:43)
Caused by: java.lang.ClassNotFoundException: com.xpn.xwiki.XWikiContext
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 29 more
which is quite strange... seems Maven is not able to resolve dependencies!
Do you have the same problems?
regards
Pascal
Hi,
I just finish start up a openoffice server in java code using
Process oooProcess = Runtime.getRuntime().exec(oooCommand);
The process's name is "soffice". But later the process change its name
to "soffice.bin"(or the old "soffice" process end and start a new
process named "soffice.bin". I'
m not sure). I found that I can't use oooProcess.destroy() to close
the "soffice.bin" process.
How to close it by java programming?
Thanks.
Wang Ning
Something to look at: http://jsecurity.org/
I've heard good feedback from Jason Van Zyl (Maven). They've used it
in Nexus.
Might be a good move from us to use it for XWiki's security in general.
Anyone interested in this?
Thanks
-Vincent
Hi devs!
I would like access to the svn sandbox please in order to commit some of my
work.
User: Enygma
P.S.: I suppose it's the same user/pass as on www.xwiki.org.
Thanks!