Re: Re: Re: XMLC 2.3.2 is out

Jacob Kjome <[email protected]> Mon, 06 Sep 2010 22:16:18 -0600
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1283829402-30467-2910
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

For the most part it would be a drop in replacement for XMLC 2.3.1, which=
 is the
version Barracuda currently uses.  It will still work with existing Barra=
cuda L10n
functionality.  It's just that the latter is much more heavyweight.  And =
you'll
have to apply certain configuration to enable XMLC's L10n at runtime and =
use
XMLC's L10nTask at build time to generate the localized templates.

Also, the new L10nTask is more advanced that Barracuda's Localize task.  =
Note that
the L10nTask is not an extension of the XmlcTask like the Localze task is=
.  This
is intentional, as dynamic loading does not require pre-generated XMLC cl=
asses but
can still take advantage of localization.

I suggest taking a look at the XMLC Tomcat example application.  The buil=
d.xml
contains example usage of the L10nTask.

I might have a look at Barracuda at some point here to see what might be =
done with
DOM loading.  It seems to me that it duplicates some of the stuff that XM=
LC's
XMLCContext will do for you.  I'm probably the one that implemented it, b=
ut I can
safely say I know much more about XMLC now than I did when I wrote the DO=
MLoader
stuff originally.  A cleanup is probably in order.  Not sure exactly when=
 I'll get
to it though?


Jake

On 9/6/2010 1:47 AM, Franck Routier wrote:
> Hi Jake,
>=20
> sorry, I didn't read your last message about localization... So I'll tr=
y
> to take the time to have a look at Barracuda + xmlc 2.3.2 this week, an=
d
> to see where barracuda localization becomes obsolete.
>=20
> Thanks,
>=20
> Franck
>=20
>=20
> Le lundi 06 septembre 2010 =C3=A0 09:37 +0200, Franck Routier a =C3=A9c=
rit :
>> Hi Jake,
>>
>> and thanks for your work. Do you think xmlc 2.3.2 would be a drop in
>> replacement in Barracuda ?
>>
>> Franck
>>
>>
>> Le mardi 24 ao=C3=BBt 2010 =C3=A0 00:24 -0600, Jacob Kjome a =C3=A9cri=
t :
>>> I'm happy to announce the release of XMLC-2.3.2!
>>>
>>> Users are encouraged to upgrade to XMLC 2.3.2, though be sure to read
>>> xmlc-2-3-2-release-note.html before doing so.  Enjoy!
>>>
>>> Download at:
>>> http://forge.objectweb.org/projects/xmlc/
>>>
>>>
>>> XMLC 2.3.2, just over 2 years in the making, is a major release that =
includes...
>>>
>>> Bug Fixes...
>>>
>>> - Fixed issue with LazyDOM failing to deal gracefully with two or mor=
e elements
>>> having duplicate Ids where one of the elements is removed at runtime.
>>>
>>> - Fixed issue with SSIs failing to load when running on a virtual Win=
dows machine.
>>>
>>> New Features...
>>>
>>> - XMLC now supports I18n/L10n!  When enabled, templates are loaded by=
 Locale.
>>>
>>> - New L10nTask Ant Task!  It can be used to generate localized templa=
tes based on
>>> properties file resource bundles (which can be UTF-8 encoded when run=
 under JDK1.6+).
>>>
>>> - New org.enhydra.xml.xmlc.misc.I18nUtil providing useful I18n/L10n-r=
elated
>>> utility methods, (plus escapeRegexMetaChars(String) method used by L1=
0nTask).
>>>
>>> Enhancements...
>>>
>>> - Updated XMLC regular expression support to Perl5.6 syntax.  Removed=
 gnu-regexp
>>> dependency in favor of JRegex.  Warning! - This may change the behavi=
or of
>>> existing -urlregexpmapping options, as gnu-regexp was intentionally l=
imited to
>>> POSIX Extended syntax.
>>>
>>> - New org.enhydra.xml.xmlc.deferredparsing.ResourceLoader interface, =
along with
>>> DocumentLoader, DocumentLoaderImpl, and XMLCDeferredParsingFactory im=
provements
>>> (besides I18n/L10n).  Warning! - DocumentLoader interface change may =
break custom
>>> DocumentLoader implementations not currently extending DocumentLoader=
Impl.
>>>
>>> - New
>>> org.enhydra.xml.xmlc.servlet.ServletDocumentLoaderImpl/ServletResourc=
eLoaderImpl
>>> classes to allow loading of resources from the ServletContext.
>>>
>>> - Added the ability to load XMLC metadata files located alongside, an=
d named
>>> after, the markup files, only with the .xmlc extension.  This allows =
for custom
>>> metadata files, per template, not previously possible when using dyna=
mic loading.
>>>
>>> - Various dynamic loading improvements.
>>>
>>> - Various encoding usage/changes/enhancements.
>>>
>>> - XMLCContext additions/improvements, including meticulous Javadoc do=
cumentation.
>>>
>>> - HTMLFormatter/XMLFormatter serialization improvements, including su=
pport for
>>> HTML5 style doctypes (i.e., <!DOCTYPE html>), automatic re-mapping of=
 doctypes
>>> between HTML/XHTML input/output based on OutputOptions formatting opt=
ions, and
>>> support for the CDATA hack in XML, not just HTML, disabled by default=
 (using the
>>> CDATASection node to pass though unparsed markup without embedding it=
 within
>>> <![CDATA[]]>).
>>>
>>> - Compatibility with Google App Engine.  In fact, the XMLC Tomcat exa=
mple app can
>>> now run under Google App Engine.
>>>
>>> General Updates...
>>>
>>> - Deprecated reflective org.enhydra.xml.dom.DOMOps methods (removed o=
ne method
>>> that never worked anyway).
>>>
>>> - Synchronized XMLC Lazy/LazyHTML/XHTML/WML/CHTML/VoiceXML DOMs with =
post
>>> Xerces-2.9.1 HTML/WML DOM changes. Applied equivalent changes to vari=
ous Xerces
>>> Issues.
>>>
>>> - Updated the Tomcat example application to show off new functionalit=
y, including
>>> some sophisticated DOM manipulation implemented in experimental class=
es that may
>>> someday make it into the core XMLC codebase.
>>>
>>> - Updated to Xerces 2.10.0, xml-apis 1.4.01, NekoHTML 1.9.14, JRegex =
1.2_01, ASM
>>> 3.3, Jaxen 1.1.3, commons-jxpath 1.3, and Log4j 1.2.16, removed gnu-r=
egexp dependency.
>>>
>>> - XMLC is now Maven friendly!  Uploaded XMLC artifacts to OW2 Maven2 =
repository:
>>> http://maven.ow2.org/maven2/org/enhydra/xmlc/
>>>
>>>
>>> See xmlc-2-3-2-release-note.html for more info...
>>>
>>> https://forge.ow2.org/docman/view.php/49/230/xmlc-2-3-2-release-note.=
html
>>> https://forge.ow2.org/docman/view.php/49/231/xmlc-2-3-1-release-note.=
html
>>> https://forge.ow2.org/docman/view.php/49/232/xmlc-2-3-release-note.ht=
ml
>>>
>>> pi=C3=A8ce jointe document texte brut (message-footer.txt)
>>> --
>>> Barracuda mailing list
>>> [email protected]
>>> http://www.ow2.org/wws/lists/projects/barracuda
>>
>> Franck Routier=20
>>              Logo Ax=C3=A8ge
>> Ax=C3=A8ge
>> 23,rue Saint-Simon
>> 63000 Clermont-Ferrand
>> T=C3=A9l: +33 (0)4 63 05 95 40
>> Fax: +33 (0)4 73 70 65 29
>> Email: [email protected]
>>
>>
>>
>>
>>
>>
>>
>> pi=C3=A8ce jointe document texte brut (message-footer.txt)
>> --
>> Barracuda mailing list
>> [email protected]
>> http://www.ow2.org/wws/lists/projects/barracuda
>=20

------------=_1283829402-30467-2910
Content-Type: text/plain; charset="UTF-8"; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: quoted-printable

=0D
--=0D
Barracuda mailing list=0D
[email protected]=0D
http://www.ow2.org/wws/lists/projects/barracuda=0D

------------=_1283829402-30467-2910--