Hi,
I add a test case for escaped symbol, but it does not pass. The test
case is like below. The xhtmlparser only realize the "[" "]" as the
SpecialSymbol.
.#------------------------------------------------------------------------------
.input|xwiki/2.0
.#------------------------------------------------------------------------------
\[notlink\]
.#-----------------------------------------------------
.expect|event
.#-----------------------------------------------------
beginDocument
beginParagraph: []
onEscape: [[]
onWord: [notlink]
onEscape: []]
endParagraph: []
endDocument
.#-----------------------------------------------------
.expect|xhtml
.#-----------------------------------------------------
<p>[notlink]</p>
.#-----------------------------------------------------
.expect|xwiki
.#-----------------------------------------------------
\[notlink\]
.#-----------------------------------------------------
.input|xhtml/1.0
.#-----------------------------------------------------
<html><p>[notlink]</p></html>
I see the class WikiModelXHTMLParser can handle the escaped symbols,
by add them like
return new XhtmlParser(Arrays.asList("**", "~~", "##", "--", "__",
"^^", ",,"));\
How about add [ ] in it, like
return new XhtmlParser(Arrays.asList("**", "~~", "##", "--", "__",
"^^", ",,", "[", "]"));
Thanks
Wang Ning
Might be good to upgrade to Hibernate 3.3.1 for Platform 1.7. We could
do it as soon as we create the 1.6 branch (next week).
WDYT?
Thanks
-Vincent
Here's the changelog since our 3.2.6 version:
3.3.0CR1 Changes:
** Bug
* [HHH-1312] - Unclosed ResultSet when using Identity
* [HHH-1396] - Table.validateColumns fails on valid column
* [HHH-1569] - Immutable Natural Id check fails with
ArrayIndexOutOfBounds in some cases
* [HHH-1593] - Infinite loop/StackOverflow when calling
configuration.setListener(null)
* [HHH-1753] - DB2Dialect.getCurrentTimestampSQLFunctionName()
uses Oracle syntax
* [HHH-1916] - param values in generator element should be
trimmed during HbmBinding
* [HHH-1920] - Incorrect documentation regarding XML manipulation
in Hibernate reference manual (chapter 18.3).
* [HHH-1956] - Interceptor.afterTransactionCompletion not called
with JTATransaction (CacheSynchronization.hibernateTransaction not set)
* [HHH-2159] - NullPointerException in
FromElement#findIntendedAliasedFromElementBasedOnCrazyJPARequirements
with 'hibernate.query.jpaql_strict_compliance' enabled
* [HHH-2164] - Minor bug in section "20.1.1. Customizing the
schema"
* [HHH-2200] - Memory leak in AbstractBatcher with Generated
Properties
* [HHH-2320] - Regression: optional properties under a <join> tag
no longer update properly
* [HHH-2503] - AbstractEntityPersister swallows JDBCExceptions in
processGeneratedProperties
* [HHH-2513] - Abusive WARN logged during deserialization of
replicated SessionFactory
* [HHH-2542] - NullPointerException in
TypeFactory.replaceAssociations for ComponentType
* [HHH-2553] - New LoadContexts Implementation causing possible
performance degradation
* [HHH-2593] - Keyword UNION is prefixed with "this_." in filter
conditions
* [HHH-2616] - No event is fired on Collection recreate/remove/
update action
* [HHH-2627] - Generated properties leak prepared statements in
Hibernate 3.2.3 and higher.
* [HHH-2631] - Leaking PreparedStatement and ResultSet via
CollectionLoadContext instances maintained in Map
collectionLoadContexts in LoadContexts
* [HHH-2711] - PropertyAccessException with backref and
<composite-map-key/>
* [HHH-2726] - spelling o your CLASSPATH
* [HHH-2728] - Calling session.clear() while retrieving objects
via an iterator will cause a "LazyInitializationException - No
Session" by the CGLIBLazyInitializer
* [HHH-2788] - Oracl8iDialect No Dialect mapping for JDBC type 91
* [HHH-2795] - CollectionLoadContexts for empy collections are
not removed until PersistenceContext.clear()
* [HHH-2816] - DefaultFlushEntityEventListener.checkNaturalId()
causes extra SELECTs on read-only entities
* [HHH-2833] - insert-select query fails with NPE when select
includes join
* [HHH-2857] - schemaSupport for HSQLDialect remote connections
doesn't work
* [HHH-2861] - cascade="delete-orphan,all" is ignored
* [HHH-2863] - testsuite fix-ups for maven and/or directory changes
* [HHH-2864] - Merging a detached instance with a new child in a
unidirectional one-to-many association fails if the parent was
previously loaded as a proxy
* [HHH-2892] - skip up-to-date checks of query cache for natural-
id only if immutable
* [HHH-2928] - optimizers for enhanced id generators should be
synchronized against multi-threaded access
* [HHH-2948] - QueryStatistics.executionMinTime always = 0
* [HHH-3111] - WebSphereExtendedJTATransactionLookup
$TransactionManagerAdapter.getStatus() implemented incorrect
* [HHH-3140] - Region prefix ignored for entities and collections
** Deprecation
* [HHH-2755] - Wrong "jsdk.jar" referenced in the tutorial
** Improvement
* [HHH-1786] - JTASessionContext.CleanupSynch does not remove
sessions from currentSessionMap
* [HHH-2048] - Incomplete MappingException at
org.hibernate.mapping.SimpleValue
* [HHH-2156] - Section 19.3, "Managing the caches" doesn't
document CacheMode.IGNORE
* [HHH-2533] - redesign Cache/CacheProviders
* [HHH-2662] - Workaround PostgreSQL issues in testsuite
* [HHH-2663] - Map java.sql.Types.REAL to Hibernate FloatType for
auto-discovery stuff
* [HHH-2665] - Split Oracle9Dialect into Oracle9iDialect and
Oracle10gDialect
* [HHH-2669] - Unequivocally map MySQL LOB types to the LONG
variant
* [HHH-2682] - support for auto-discovery of H2 dialect
* [HHH-2696] - Consider migrating to slf4j
* [HHH-2761] - Handle null and empty string consistently in
PropertiesHelper
* [HHH-2778] - TransactionManagerLookup implementation for
Bitronix Transaction Manager
* [HHH-2789] - Section 19.2 of the documentation does not show
OSCache as supporting clusters. It does.
* [HHH-2822] - timestamp extraction functions for SAPDBDialect
* [HHH-2826] - IS [NOT] NULL checks with component values
* [HHH-2859] - Introduce a 'Work' API for user to perform JDBC work
* [HHH-3131] - Add a method to ActionQueue to tell whether there
are currently entries in the executions collection
** New Feature
* [HHH-1] - Optimize Hibernate for the bulk insertion of related
entities
* [HHH-2555] - Create new RegionFactory for JBossCache
* [HHH-2884] - Provide a sessionFactory close event or hook for
the event listeners
** Patch
* [HHH-952] - Patch to allow subqueries with joins using Criteria
API and Subqueries with DetachedCriteria
* [HHH-2070] - Expand DB2Dialect auto-discovery support (Martin
Renner)
* [HHH-2519] - Schema dropping not documented with
hibernate.hbm2ddl.auto=create
* [HHH-2630] - Hibernate Dialect is not auto-detected for Sybase
ASE and DB2 (Shelley McGowan)
* [HHH-2758] - Patch IngresDialect based on certification
* [HHH-2839] - Don't use dummy dual table for hsqldb (David Bala?
ic)
* [HHH-2849] - Better error logging in IdentifierGeneratorFactory
(Antony Stubbs)
* [HHH-2957] - ActionQueue Insertion sort performance degrades
exponentially (Jay Erb)
* [HHH-3084] - DialectFactory detection of Ingres metadata
(Michael Leo)
** Task
* [HHH-2702] - Officially move to JDK 1.4
* [HHH-2704] - Migrate to Maven2 for build
3.3.0CR2 changes:
** Bug
* [HHH-1697] - OracleDialect fails to recognize sequence
accessible through syonyms when validating schema
* [HHH-2604] - Isolator.JdbcDelegate masks the exception if it
isn't possible to open a connection.
* [HHH-2683] - "datediff" is declared as NoArgSQLFunction in
H2Dialect, but actually accepts 3 arguments.
* [HHH-3006] - ConcurrentModificationException in AbstractBatcher
results in infinite loop
* [HHH-3229] - Merge can fail when there is a transient entity
reachable by multiple paths and at least one path does not cascade on
merge
* [HHH-3257] - Content images not displayed
* [HHH-3260] - Hibernate wraps a listener init or destroy
exception into an AssertionFailure
* [HHH-3261] - Do not wrap exceptions raised by event listeners
(at init or destroy time)
* [HHH-3265] - change license url in pom to http://www.gnu.org/licenses/lgpl-2.1.html
* [HHH-3266] - distribution bundle missing jta dependency
* [HHH-3272] - using of Integer.valueOf(int), which is not
available in JDK 1.4
* [HHH-3282] - DB2Dialect should report
supportsLobValueChangePropogation() == false
* [HHH-3309] - Serialize/Deserialize problem in
AbstractLazyInitializer with entitymode.MAP.
* [HHH-3409] - ResultTransformers need smarter equals() and
hashCode() impls
** Improvement
* [HHH-1786] - JTASessionContext.CleanupSynch does not remove
sessions from currentSessionMap
* [HHH-2060] - To be able to use <generator> with <composite-id>
* [HHH-2506] - Make javassist the default ByteCodeProvider
* [HHH-2875] - repackage cglib/asm under org.hibernate namespace
* [HHH-3269] - upgrade to jDocBook plugin version 2.1.1
* [HHH-3283] - protect
BulkManipulationTest#testInsertWithGeneratedTimestampVersion where
Dialect#supportsParametersInInsertSelect == false
* [HHH-3358] - Enable JTATransactionFactory and JTATransaction
factory to work without JNDI
* [HHH-3390] - Use READ_COMMITTED for JBC 2 cache
** Patch
* [HHH-3294] - Version incorrectly incremented for unchanged
persistent entity that is parent of a one to many relationship
** Task
* [HHH-3270] - follow up on documentation license questions
3.3.0GA changes:
** Bug
* [HHH-2021] - org.hibernate.cache.QueryKey has a fragile
equals() method
* [HHH-3333] - build Wiki has a typo and includes a lie re:jdk
version
* [HHH-3378] - DB2CustomSQLTest fails, need "RESULT SETS 1" in
proc definitions
* [HHH-3430] - distribution bundles cglib directly instead of the
hibernate repackaging
** Improvement
* [HHH-2926] - All *Event must inherit AbstractEvent
* [HHH-3247] - Provide more information in TypeMismatchException
message
3.3.0SP1 changes:
** Bug
* [HHH-3437] - re-add incorrectly removed public getSource()
methods on events
3.3.1GA changes:
** Bug
* [HHH-2694] - create-drop with c3p0 causes SQLException
* [HHH-3231] - org.hibernate.id.enhanced.TableGenerator throws
"IllegalArgumentException: alias not found: tbl" under Oracle
* [HHH-3392] - Query Cache entries are not distributable
* [HHH-3472] - JTASessionContext broken for WebSphere
** Improvement
* [HHH-2686] - Include a primary key in the sequence table used
by id.enhanced.TableGenerator
* [HHH-3249] - Make o.h.id.enhanced.TableGenerator more extension-
friendly
* [HHH-3424] - concat() with param binding fails function on derby
* [HHH-3454] - Allow enhanced.TableGenerator to segment itself
per entity as default
* [HHH-3456] - Make o.h.id.enhanced.SequenceStyleGenerator more
extension-friendly
* [HHH-3471] - Provide true-false type that maps to int values
** Task
* [HHH-3474] - Upgrade to use slf4j 1.5 (1.5.2)
Hi,
I'd like to propose that in the future we implement a xwiki-filesystem
module that has a virtual filesystem API.
The idea is that all modules who need access to the file system go
through this xwiki-filesystem module. We would implement it using
Commons VFS (http://commons.apache.org/vfs/).
This allows to use different filesystems:
* For example in unit tests we would use a RAM filesystem. This allows
not leaving files around during tests.
* Users could configure XWiki to use a different filesystem (see http://commons.apache.org/vfs/filesystems.html)
I have used commons vfs in the past on Cargo and it has worked great.
I've just had a look at its releases and it's been a while since the
last one. However activity seems to be picking up and provided we have
our own interface I don't see a major issue. At worse we would only
use RAM and file implementations.
Disclaimer: I'm not planning to work on this anytime soon. Just wanted
to share the idea with you so that we can decide if that's something
we want or not.
Thanks
-Vincent
Hi all out there,
I would like to install/create a developing environment for XWiki on a
brand new MacBook Pro running Mac OS X 10.5.4. I've being using Tomcat
as servlet container and MySQL as backend database so far. Please, could
you advice on what releases must I install here? Thanks!
About Java...
Last login: Fri Sep 12 23:20:46 on ttys000
GMXUX-Ricardo-Rodriguez:~ rrodriguez$ java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)
GMXUX-Ricardo-Rodriguez:~ rrodriguez$
Best regards,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
JV Wrote:
>1) Usage of // instead of ~~ for italic
>
>Creole rationale : A slash (/) looks like slanted italics, so it is
>intuitive and thus easier to remember.
>See http://www.wikicreole.org/wiki/BoldAndItalicsReasoning
>Note : on all the keyboard mappings I know slashes are more easily
>reachable than ~.
Would this not be problematic as all URLs pasted into the editor will
contain "//" in the "HTTP://"
-1
Joshua Marks
CTO
Curriki: The Global Education and Learning Community
jmarks(a)curriki.org
www.curriki.org
US 831-685-3511
Hi devs,
I'm working currently on the new comments and ratings plugins. The
objective is to allow to separate the comment code from the core to
allow different implementation which can be:
- comments as objects to the page (the current implementation)
- comments as separate pages
- ratings separated from comments
- comments and ratings merged
We have code in the sandbox
http://svn.xwiki.org/svnroot/xwiki/sandbox/plugins/comments/src/main/java/c…
There is a patch for the core to call the comments code in the sandbox also.
Now we have currently used a plugin oriented entry point which calls a
CommentsManager which is a separate module. It does not seem very
practical to call the plugin from the core. I've been thinking that it
would be better to make the CommentsManager a component, with the
interface in the core, and separate the implementations in a comments
component in the xwiki-core-comments. The approach would be similar to
Artem's approach on the query plugin.
Then we would use a velocity bridge to expose the comments to the
velocity scripting.
Is that the right approach ? Is there documentation to help me achieve
this ?
Can some of our core devs looks at the comments code and provide some
feedback to improve this. I think we can improve it significantly.
We need comments and ratings as separate pages pretty quickly so we need
feedback very soon to be able to take it into account.
WDYT ?
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Hi,
I'd like to create a branch of XWiki Core 1.5.1 to add the new comments
and ratings plugin on an XWiki 1.5 core.
I propose the following branch
http://svn.xwiki.org/svnroot/xwiki/platform/core/branches/xwiki-core-1.5.1-…
This is necessary since there is some code changes in CommentAddAction
and in XWikiDocument to keep them working
The new code once validated would be commited on 1.6 for RC1.
Here is my +1
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
The XWiki development team is pleased to announce the release of XWiki Watch 1.1
Milestone 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download !
This is the first milestone of the 1.1 version of XWiki Watch which focuses on
the user experience by improving the user interface and performance of the Watch
Reader. From the changes in this release, we mention:
* the redesign and better user interaction for the article list, with a more
friendly, non-blocking loading mechanism and in-place forms (XWATCH-194, XWATCH-198)
* live grids for the articles table in the feed pages in the wiki view (XWATCH-208)
* the forbidden actions are not displayed in the Watch Reader interface
anylonger (XWATCH-95)
* a first iteration in the performance amelioration of Watch Reader by using
optimised queries (XWATCH-201, XWATCH-202, XWATCH-203)
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWatch11M1
Thanks
-The XWiki dev team
Hi all,
I have a document which is a concatenation of other documents, and I
would like a global TOC.
Anyway, the TOC generated is only composed of the current document
headings, not with the included headings.
Do you think it's possible to make it work ?
Best regards,
Arnaud.
--
Société Code Lutin
http://www.codelutin.com
tel : 02 40 50 29 28
fax : 09 59 92 29 28
Hi devs,
With quite a significant delay, I would like to release XWiki Watch 1.1 M1 the
next days (tomorrow or Wednesday) with the following main improvements:
* redesign and significant improvement of user interaction for the articles list
(XWATCH-194)
* first iteration on the performance improvement (XWATCH-146), materialized in
the implementation of the XWiki Watch GWT server and optimized SQL queries for
parts of the actions, to be reiterated in M2.
Although the issues list for M1 is barely touched by these fixes at this moment,
they represent underlying work to prepare the fixes for these issues in the next
milestone(s).
WDYT?
Happy coding,
Anca Luca
Hi all,
A couple pages on my wiki have been spammed and I was wondering if
there is a way to delete all comments by XWikiGuest easily. I have
noticed a table in the db called xwikircs that gets updated evertime
there is a change to the wiki. Also noticed that when someone makes a
comment some info about the comment, including the comments goes there
too. But for some reason the xwikicomments table is empty? So i guess
there are really two questions, why is the xwikicomments table empty
and is there an easy way to delete spam comments (comments by
XWikiGuest). Thanks in advanced!
-m
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.6 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Last milestone of the XWiki Enterprise 1.6 version.
Main changes:
* XWIKI-2634 - Various tasks for the new rendering implementation
* XWIKI-2651 - Create a new WYSIWYG editor based on GWT - 1.6M2
* XWIKI-2635 - Experimental XWiki Query Language
* XWIKI-2623 - Update MSSQL hibernate mapping file and ship it with
xwiki distributions
* XWIKI-2643 - Ability to easy add languages in QueryManager via
QueryExecutor components
* XE-300 - The treeview should sort spaces by their name
Important bug fixes:
* XWIKI-2573 - viewrev action fails with ugly stacktrace for
documents with attachments when no revision number is requested
* XWIKI-2649 - xwiki.authentication.ldap.mode_group_sync is not
"always" by default
Note that general goals for XWiki Enterprise 1.6 are:
* Beta versions of new rendering + new WYSIWYG editor
* Revamped Blog UI + features
* Security issues already in JIRA (marked as high priority)
* Bug fixes
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise16M2
Thanks,
The XWiki dev team
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.2.1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the last XEM 1.2.x version, after that this branch is not
supported anymore.
It's an XE upgrade from 1.4.1 to 1.4.2 and also contains some UI improvements.
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM121
Thanks
-The XWiki dev team
Hi XWikiers,
I'd like to start the 1.6M2 release ASAP which means that the blog
overhaul will be postponed to 1.6RC1.
FYI I've been working on improving XWiki localization lately but I
won't able to commit it before the release, I'll send an email about
this later today.
Here's my +1.
Thanks,
JV.
Hi devs,
for better management of the XWatch data, I'd like to create a XWiki Watch
component (plugin) to handle Watch specific actions on the server side. The main
reason I wish to do this is to eliminate the duplicate query code in Watch,
caused by the fact that the same actions are needed from the GWT Servlet and the
wiki documents. Since querying is a matter of accessing Watch data, I see no
reason for maintaining duplicate, independent implementations for it and not
centralizing it in a component.
Besides eliminating duplicate code, the component would also provide support for:
- universal, easier access to Watch data regardless of the interface/API (GWT
servlet, default implementation of XWatch portal pages, custom wiki pages)
- better implementation of the Watch data model layer on top of xwiki data model
(object/document dependencies, data consistency, providing universal API for
safer manipulation of data from this pov).
By adding this component, Watch would be deployed as a plugin + xar, as other
XWiki applications are (but with some custom modifications in web.xml, required
by the GWT servlet).
I would like to implement this component in the following iteration of XWiki
Watch (1.1 M2) to have it fully tested and debugged until the 1.1 final release.
WDYT?
Happy coding,
Anca Luca
Hello XWikiers
does anybody know of an xwiki extension that could enable our xwiki (a
curriki) to play the role of an acegi server?
thanks in advance
paul
Hi devs,
As XE 1.4.2 as been released I would like to release a XEM 1.2.1 based
on it. Like for XE 1.4.2, it will be the last XEM 1.2 branch release
and the branch will be removed from svn after that.
You can see the release note at
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM121
--
Thomas Mortagne
Hi,
Wikimodel (and Doxia) both have the ability to pass parameters to some
events such as paragraphs, lists, tables, etc.
I'm proposing that we enable that in our rendering too.
This will allow writing things like:
(% param1="value1" param2="value2" %)
This is a paragraph
Example:
(% style="background-color: blue" %)
This is a paragraph
Note that we've already agreed to do that for tables. What I'm saying
here is that we should generalize it to other elements. Here's the
list I propose:
- paragraphs
- list and list items (including definition lists)
- section headers
- quotation (which is not yet implemented, on my todo list)
- tables
This solves our issue of styling without requiring a special macro and
in addition it's very generic and consistent with wikimodel/doxia.
WDYT?
Thanks
-Vincent
Hi, devs.
I would like to discuss about the new xwiki query language.
http://dev.xwiki.org/xwiki/bin/view/Design/XWikiQueryLanguage
We need to choose a syntax and data model of the query language
There are some examples in
http://dev.xwiki.org/xwiki/bin/view/Design/XWiki+Query+Language+Specificati…
I already have a prototype based on my JPQL parser (SableCC based) and
hql generator. It is quite easy to modify syntax and generator. Results
of my query parser research in the end of the message.
I propose:
0) Name: XWiki Query Language, XWQL as a name of the new language.
1) Data Model: Choose query method #1 from specification
http://dev.xwiki.org/xwiki/bin/view/Design/XWiki+Query+Language+Specificati…
with corrections:
add Document as a virtual class for our XWikiDocument.
use "docalias.XWiki.ClassName instead" of "XWiki.ClassName". docalias is
some alias for Document.
add optional select clause.
example:
"select doc.fullName
from Document as doc, doc.XWiki.XWikiUsers as user
where user.email like '%xwiki.com' and doc.author=:username"
"select doc.fullName from Document as doc" may be omitted. It will be
added if there is no Document in query statement. So "from
doc.XWiki.XWikiUsers as user" is correct query statement.
It is possible to use several documents and objects in one query.
Attachment, Class, and other xwiki entities will be added later if needed.
2) Syntax: XWQL will be JPQL subset.
(hint: JPQL is part of Java Persistance API standard, JSR#317. HQL is
a superset of JPQL. Hibernate support JPA)
All JPQL features and all hibernate data model will be accessible for
hibernate store. But it is not true for JCR store.
Only described data model will be available for XWQL on JCRStore. (But
we may add some extensions later)
In JCRv2 will not work (JCRSQL2 constraint):
arithmetic expressions (+-*/)
aggregation funtions (max,min,sum,avg)
some other functions
In JCRv1 also will not work (XPath constraint):
query on several documents (from Document as doc1, Document as doc2)
Some JPQL limitations compared with HQL:
no arithmetic expressions (+-*/) in select clause
aliases at from clause are mandatory (from Document as alias)
So the main idea is to use simple JPQL preprocessor to rewrite virtual
data model to real.
This is quite easy for HQL and JCRSQL2. But it is hard(but doable) for
JCRv1 XPath.
WDYT?
Appendix:
I researched a many of query engines and found nothing appropriate. All
query engines/parsers is either very specific or cannot be used
standalone or cannot be used as a preprocessor. JCRSQL2 language parser
from Jackrabbit is still unusable.
Next I researched a parser generators and found that SableCC is best
choose for my needs. Other tools (ANTLR, JavaCC, Cup, Beaver) requires
much more hand work to write parse tree (AST) and preprocessors
(Visitors and ast.toString). JTB and JJTree also generate AST and
visitors, but SableCC generated code is much more clean.
SableCC generate all of this from one clear grammar file. Maybe it is
not as perfect as hand-written one, but it is quite suitable.
Reason to choose sql-like syntax:
XPath isn't still much spread. XPath language is deprecated in JCRv2.
JCRv2 uses JCRSQL2 and criteria-like AQM instead. JCRSQL2 is much more
powerful (in expression sense) than JCR's XPath and JCRSQL1.
--
Artem Melentyev
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.5.1.
This is an important bugfixes release (including regressions
introduced in 1.5) mainly around LDAP, watchlist and pages versioning.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Bugs fixed
* Usage of "." in LDAP logins doesn't work
* LDAP authentication fail when user already exist and contains
ldap_dn field emptied by hand
* Exception when viewing document version
* Printing without using the print template only prints the first page
* Superadmin doesn't have programming rights on sub-wikis
* Import fails if the user enters this URL
/xwiki/bin/admin/XWiki/XWikiPreferences manually
* Rollback to document version with v1.1 attachment fail if
attachment content is not loaded
* Left-column top logo is cropped
* Watchlist does not work with XE 1.5
Improvements
* Update MSSQL hibernate mapping file and ship it with xwiki distributions
* Added Ukrainian translation
* DB2 Hibernate mapping for 1.5
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise151
Thanks
-The XWiki dev team