On Wed, 1 Apr 2020 10:21:48 +0200
Ancor Gonzalez Sosa <an...@suse.de> wrote:

> On 2020-03-30 22:07, josef Reidinger wrote:
> > Hi,  
> 
> > 
> > Or do we have some functionality that we would like to have on top of 
> > standard parsers?  
> 
> I think it makes sense to offer our own parser. Otherwise, we could end
> up with different parts of YaST using different approaches (rexml vs
> nokogiri vs next-ruby-thing vs whatever-python provides). That's
> specially bad because each parser comes with its own mindset.
> 
> > Only thing that current parser have on top of generic xml parsers is 
> > understandingof type attribute  
> 
> Which is something that is, on itself, enough to justify the creation of
> a YaST parser (internally based on an existing solution, of course).

OK, question is do we want more features? Or better which features you are 
missing in current XML parser? optional schema validation? More strict parsing? 
Better logging? Extending existing types, so it can contain more types in type 
attribute ( like e.g. class name that is then constructed via e.g. method 
from_xml) ?

Josef

> 
> Cheers.

-- 
To unsubscribe, e-mail: yast-devel+unsubscr...@opensuse.org
To contact the owner, e-mail: yast-devel+ow...@opensuse.org

Reply via email to