[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: xmlspec Update



On Fri, 31 May 2002 10:06:38 -0400, Jeff Johnson <jbj@redhat.com> wrote :
> You've done the coding for the conversion from
> 	XML -> internal
> and the existing parser does
> 	specfile -> internal

Correct, the "internal" format for XML is just classes at this point instead
of the actual current RPM structures. For simplicity I'll call it "C++
internal" and "C internal" for the remainder...
 
> The next steps seem to be
> 	internal -> XML
> 	internal -> specfile

I can do C++ internal to both XML and specfile, ie. XML <-> C++ Internal ->
Spec. What I see as the next step is rather to do C++ <-> C internals. Then
by using the RPM spec parser, we can go from "Spec -> C internal -> C++
internal -> XML". Which almost seems round-about. *scratches.head"

> to be able to do invertible transforms between XML <-> specfile.

The dream at this point :)

> That's a plan anyways, sure hope it's that easy :-)

*grin*

Greetings,
Jaco

PS: I'm busy compiling a mapping from tag -> XML tag. Will send it out as
soon as it is workable. There might be representation and tags I've missed...






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []