Sérgio Lopes | 22 Oct 19:55
Picon

[Serna] Lib used for xml parsing?

Hello,

I'm currently evaluating the use of both Syntext Serna for the use in one of 
our projects. Besides the normal functionalities that I can test, there is one
evaluation parameter that I cannot seem to infer/discover.

Basically, it is important to us to know which xml parser/validator the chosen 
Xml Editor will use. This parameter is important because requirements force us 
to use a different library for programmatically parsing xml files and for xml
edition.

So, is it possible to know which parser/validator Syntex Serna use? If, by 
some reason you cannot provide us with that knowledge, is it at least possible 
to know if one of these parsers used is either Xerces or LibXml (and which one)?

Best regards and thanks in advance,
Sérgio Lopes

Paul Antonov | 23 Oct 10:16
Favicon

Re: [Serna] Lib used for xml parsing?


Hello,

Serna uses SP and libxml parsers. SP is used internally for initial 
document parsing, libxml is used for document publishing and other purposes.

I do not understand however how this may force you to use any particular 
parser for your project. When you are creating Serna customizations, you 
can use any parser which can be used with Python. Most exising non-Java 
parsers have Python bindings. Besides, Serna API provides its own DOM-like 
interface to the document which is being edited.

Regards,

-- Paul

On Mon, 22 Oct 2007, Srgio Lopes wrote:

> Hello,
>
> I'm currently evaluating the use of both Syntext Serna for the use in 
> one of our projects. Besides the normal functionalities that I can test, 
> there is one evaluation parameter that I cannot seem to infer/discover.
>
> Basically, it is important to us to know which xml parser/validator the 
> chosen Xml Editor will use. This parameter is important because 
> requirements force us to use a different library for programmatically 
> parsing xml files and for xml edition.
>
> So, is it possible to know which parser/validator Syntex Serna use? If, 
(Continue reading)

Sérgio Lopes | 24 Oct 10:16
Picon

Re: [Serna] Lib used for xml parsing?

Paul Antonov <apg@...> writes:

> 
> 
> Hello,
> 
> Serna uses SP and libxml parsers. SP is used internally for initial 
> document parsing, libxml is used for document publishing and other purposes.
> 
> I do not understand however how this may force you to use any particular 
> parser for your project. When you are creating Serna customizations, you 
> can use any parser which can be used with Python. Most exising non-Java 
> parsers have Python bindings. Besides, Serna API provides its own DOM-like 
> interface to the document which is being edited.
> 
> Regards,
> 

Hi,

thanks for the information. This was exactly the information I needed to know.

To answer your question withou going into much details, our project involves
both programatically reading/modifying/processing xml files and also proposing
tools for users modifying these xml files (this is the point where Serna comes
in). We are still discussing which libraries we will use for programmatically
load xml files and it would be desirable (in our case) to use a different
library than the one used by the Xml Editor. 

Best regards and thanks,
(Continue reading)


Gmane