Hi,
Do we want to honor whitespaces in table cells or not?
The main advantage of trimming them is to get aligned cell symbols.
See http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables
Right now we're honoring whitespaces (they are significant).
If we want to be consistent with normal wiki text we should honor them
since we're honoring spaces in wiki text. However we just need to
agree that it won't be possible to get nicely aligned cell delimiters
then.
WDYT?
Thanks
-Vincent
Hi,
I'd like to propose refactoring the Listener/Renderer classes for the
following reasons:
* too hard to write renderers since they're using a "streaming" API
which makes it very difficult to have lookaheads
* streaming api not required since we're using a XDOM object which
"breaks" streaming anyway
Thus I'm proposing to:
* Remove Listener interface
* Modify Renderer interface to have a single method: render(XDOM,
WikiPrinter)
* Rewrite existing Renderers and make them components (it would now be
possible)
I have brainstormed on this with Thomas Mortagne and we have both
agreed that we don't see any problems with this since we absolutely
need the XDOM object for:
* ability to have macro priorities (TOC, Include macro, etc) and
powerful transformations in general
* ability to cache parsed content
Let me know what you think quickly since I'd like to start the
refactoring ASAP since it's a prerequisite for doing another
refactoring (moving the XWikiXhtmlEscapeHandler to the
XWikiSyntaxRenderer) which itself is required for solving this issue:
http://jira.xwiki.org/jira/browse/XWIKI-2851
Thanks
-Vincent
Hello,
I'd like to work on translations of default XE pages (pages that are not
internationalized yet) like Photos.WebHome, Main.Tags, Panels etc.
In order to do things correctly I'd like to now the syntax I should use
for the $msg.get values.
What we have in a page like XWiki.XWikiUserSheet is :
"platform.core.profile.firstname" for the firstname
1 ) Should I use the same syntax ("platform.core.tags.title" for the
title of Main.Tags - if i keep my example) ?
2 ) Or should we use more scalable values (tomorrow we will have a core
and applications on it : should we consider the Panels as an application
and have something like "application.panel.panelname.element" ?).
3 ) Maybe that we also can use things like the fullname of a page in the
value (to quickly identify it) and having something like :
"appplication.panel.Panels.Search.title"
I'm waiting for your advices on this (1 / 2 / 3 or another proposal).
Thanks,
Thomas Eveilleau
Hi,
I'm trying to develop plugins for XWiki using Eclipse 3.4. I went
through the process outlined in
the developer wiki twice and can not get the project to start up. (xe-
debug-web). When I start
the web project in Tomcat 6, I get hit by this exception:
Nov 26, 2008 6:47:52 PM
org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context}
Setting property 'source' to 'org.eclipse.jst.jee.server:xe-debug-web'
did not find a matching property.
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.AprLifecycleListener
init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: .:/Users/simon/Library/Java/Extensions:/Library/
Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Nov 26, 2008 6:47:52 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 26, 2008 6:47:52 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 633 ms
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
org.xwiki.container.servlet.XWikiPlexusServletContextListener
java.lang.ClassNotFoundException:
org.xwiki.container.servlet.XWikiPlexusServletContextListener
at
org
.apache
.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1387)
at
org
.apache
.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1233)
at
org
.apache
.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4342)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:
710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous
error(s)
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/xe-debug-web] startup failed due to previous errors
Nov 26, 2008 6:47:52 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Nov 26, 2008 6:47:53 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 26, 2008 6:47:53 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/37 config=null
Nov 26, 2008 6:47:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1003 ms
I took extra care the second time round to ensure I followed the
instructions to the letter. I noticed again that
the WEB-INF/lib directory is EMPTY. I assumed that Maven should
download and install the required jarfiles
there? Am I missing something?
Cheers,
J.L.Simon
asiri (SVN) wrote:
> Author: asiri
> Date: 2008-11-26 07:18:39 +0100 (Wed, 26 Nov 2008)
> New Revision: 14446
>
> Modified:
> sandbox/xwiki-plugin-officeimporter/src/main/java/com/xpn/xwiki/plugin/officeimporter/filter/HtmlStyleFilter.java
> Log:
> XAOFFICE-1 : Develop the initial feature set for office-importer plugin.
>
> * Adding 'colspan' attribute to the allowed attribute lists under strict & moderate filter levels. This is acceptable since 'colspan' is a structuring element rather than styling element.
Then rowspan should be allowed, too.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi,
XE 1.7 RC1 is to be released this afternoon and we had planned to
create 1.7 branches after it.
While most (all?) of us will be working on stabilizing XE 1.7 in the
coming week I suggest to postpone the 1.7 branches creation after XE
1.7 release (dec 3rd).
Here's my +1.
I plan to start the release at 13:30 UTC.
Release plan :
xwiki-configuration-resources 1.19
xwiki-core 1.7-rc-1
xwiki-plugin-skinx 1.4
xwiki-platform-web 1.7-rc-1
xwiki-product-enterprise 1.7-rc-1
Thanks,
JV.
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7 RC 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the first release candidate for the 1.7 version.
Changes from 1.7M3:
* Link feature implemented in the new WYSIWYG editor (link to wiki
page, web page, email).
* Work in progress on the new experimental WYSIWYG editor.
* Work in progress on the new XWiki Syntax v2.0
* Reorganized, documented and enhanced xwiki.cfg configuration file
Important bug fixes:
* XWIKI-2873 : Wrong user name is inserted in group during LDAP
membership synchronisation
Note that general goals for XWiki Enterprise 1.7 are:
* Working and usable (i.e. users can use them for their day to day
work instead of the old Syntax and old WYSIWYG editor) versions of new
rendering and new WYSIWYG editor.
* Working JCR (can be used for day to day work instead of Hibernate).
* Blog revamping
* Webdav integration
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17RC1
Thanks
-The XWiki dev team
Hi Vincent,
On Wed, Nov 26, 2008 at 1:49 PM, Vincent Massol <vincent(a)massol.net> wrote:
>
> On Nov 26, 2008, at 4:13 AM, Asiri Rathnayake wrote:
>
> > Hi Vincent,
> >
> > On Tue, Nov 25, 2008 at 9:07 PM, Vincent Massol <vincent(a)massol.net>
> > wrote:
> >
> >> Guillaume,
> >>
> >> I can see some other problems:
> >> * title is not correct
> >
> >
> > Did you mean the title content (spellings?) or the font size of the
> > title?
> > If it's the latter, it's because openoffice server in this case has
> > used
> > <font size=""></font> for sizing, and this is filtered in the strict
> > filtering mode.
>
> A title should be converted to a title (i.e. using the == syntax in
> wiki).
>
> Wasn't this a real title in the original word doc?
It seems not. If the user editing the document was using headings instead of
font sizes, this would result in a title.
>
>
> > I'm pretty sure you didn't mean the latter one, if so please explain
> > what's
> > exactly wrong :)
> >
> > * lots of empty lines
> >
> >
> > Good point.
> >
> > If any of you have some free time (which excludes vincent ;)) please
> > try
> > this :
> >
> > Open a new text document in openoffice and:
> >
> > 1. Type one line of text.
> >
> > 2. Press enter twice and type another line of text.
> >
> > So you'd have something like :
> >
> > " Hi, This is the first line
> >
> > And this is the second line"
> >
> > 3. Save the document as *html*.
> >
> > 4. Open the document in firefox and see the result.
> >
> > The same thing happens when converting documents via openoffice
> > server. The
> > problem is, for each empty line in a word document, open office uses :
> >
> > <p style="margin-bottom: 0in"><br/></p>
>
> What is the effect of "margin-bottom: 0in"? If it removes the new line
> then we should check for this and remove the paragraph altogether (for
> all filterings IMO).
Well it is supposed to, but it doesn't work in either FireFox or IE. But
anyway, since it is supposed to mean there is no newline in between, we
could remove such paragraphs. But consider the following case :
<p style="margin-bottom: 0in; background-color: red;" >Paragraph-1</p>
<p>Paragraph-2</p>
In this case if we blindly remove the first paragraph, it will loose other
styles along with it. So we should only filter such paragraphs in
strict/moderate filtering scenarios. In non-restricted mode, we can't do the
same. Again, I'm thinking whether this filtering belongs to office-importer
or xhtml parser ?
WDYT ?
>
>
> > For spacing. And this is obviously not correct. May be I should take
> > this to
> > openoffice guys ?
>
> Yes you should but in the meantime we can filter this (only when
> margin-bottom is 0).
>
> > Vincent, if you remember, I tried to replace these empty paragraphs
> > with
> > <br/> elements. But I didn't mention this to you at that time.
>
> Yes you didn't mention that there was a CSS with margin-bottom: 0in
> which changes everything...
Well I saved the best for the end ;)
Thanks.
- Asiri
>
>
> -Vincent
>
> > I simply
> > didn't like these empty paragraphs ;)
> >
> > Thanks.
> >
> > - Asiri
> >
> >
> >
> >
> >>
> >>
> >> Thanks
> >> -Vincent
> >>
> >> On Nov 25, 2008, at 4:30 PM, Guillaume Lerouge wrote:
> >>
> >>> Hi Asiri,
> >>>
> >>> I tested strict filtering with my usual test document and apparently
> >>> something went wrong with links (see the bottom of the page):
> >>> http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez
> >>>
> >>> Apart from this, it looks pretty good.
> >>>
> >>> Guillaume
> >>>
> >>> On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake <
> >>> asiri.rathnayake(a)gmail.com> wrote:
> >>>
> >>>> Hi Devs, Users,
> >>>>
> >>>> I have uploaded yet another new version of office-importer @
> >>>> http://91.121.237.216/xwiki/bin/view/Import/.
> >>>>
> >>>> This version utilizes the latest rendering module which has
> >>>> improved a lot
> >>>> since the last upload.
> >>>>
> >>>> Also a moderate style filtering option is introduced.
> >>>>
> >>>> Please try it out and let us know what you think.
> >>>>
> >>>> Thanks.
> >>>>
> >>>> - Asiri
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hello Devs,
is there some Documentation (or a Regex) which Characters are
practically allowed in page and space names? I am unable to find this.
From the syntax page it is kind of clear that the following ones are
not really usable:
"." Because of Space Prefix
"[]" Link itself
"()%" new formatting characters
">" alias of links
I was playing around and if you enter some page name like
"hello.hello.hello" you'll get a page named "hello" in the Space
"hello.hello". If you enter "hello\.hello" it'll just display nothing.
(on XWiki 1.7 M2)
Maybe XWiki should check if the given page or space name is actually
valid, before creating the page?
Nice greetings
Jonas