On Tue, Dec 1, 2009 at 17:51, Paul Libbrecht <paul(a)activemath.org> wrote:
Thomas,
I am positive it seems to be a useful thing!
Two thoughts:
- do you do a mapping java <-> schema in a somewhat automated manner? I
would urge you to do this so as to maintain one single documentable code
base. things like xsddoc have a chance for documentation maybe?
Yes. See
http://jira.xwiki.org/jira/browse/XWIKI-4237 and
http://dev.xwiki.org/xwiki/bin/view/Design/xmlsyntax#HProposedformat
for details related to this proposal.
- do you have already a full (de-)serialization and another implementation
that would either produce or consume that XML? All of these things may
affect your format thoughts.
You can find full streaming and block parsers and renderers
implementations (for the format described in
http://dev.xwiki.org/xwiki/bin/view/Design/xmlsyntax#HProposedformat)
in
http://jira.xwiki.org/jira/browse/XWIKI-4237.
paul
Le 01-déc.-09 à 16:28, Thomas Mortagne a écrit :
Hi all,
Since i finished a first POC, I would like to introduce a new XML
based syntax. the goal is to provide an easy to parse exact mapping of
the rendering events.
You can look at
http://dev.xwiki.org/xwiki/bin/view/Design/xmlsyntax
for more details.
Would be great to have comments about this.
The main things to discuss are:
- what XML syntax exactly
(
http://dev.xwiki.org/xwiki/bin/view/Design/xmlsyntax#HProposedformat)
- what syntax identifier
(
http://dev.xwiki.org/xwiki/bin/view/Design/xmlsyntax#Hfindagoodsyntaxidenti…)
The first use case for this is the support of generic markers in
XHTML: instead of having specialized macro marker in XHTML comment
serialized in a generic, easy to parse and exact repesentation of a
XDOM branch that as been replaced by something else during a
transformations.
So WDYT ?
--
Thomas
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne