On Fri, Mar 16, 2018 at 12:13 AM, Dave Kuhlman <dkuhl...@davekuhlman.org>
wrote:

> Olof,
>
> I believe I have a fix.  And, I suspect that you will be able to
> apply the attached patch to your version of generateDS.py.
>
> So far it passes my tests.  And, it does what we want it to do when
> we use --no-namespace-defs with the ipxact schemas, if I understand
> that correctly.  Running generateDS.py without --no-namespace-defs
> produces things like this:
>
>     def export(self, outfile, level, namespace_='ipxact:',
> name_='busDefinition', namespacedef_='xmlns:ipxact="h
> ttp://www.accellera.org/XMLSchema/IPXACT/1685-2014"', pretty_print=True):
>
> And, run *with* --no-namespace-defs produces:
>
>     def export(self, outfile, level, namespace_='ipxact:',
> name_='busDefinition', namespacedef_='', pretty_print=True):
>
> That's what we want, right?
>

Yes! This is what I was looking for. Many thanks.


>
> I'll do more checking on this tomorrow.  I apologize if I've slowed
> down your work.
>
>
Having interacted with a ton of open source projects (as well as
maintaining quite a few myself) I would say that slowing things down is the
last thing you need to worry about. I seldom see as swift response and
thorough help as I get from you, so find a hand to pat your back :)

I also hacked a bit on my XML schemas to get around the issue, so I have
been able to continue my work

Cheers,
Olof


> Dave
>
> On Wed, Mar 14, 2018 at 10:12:04AM +0100, Olof Kindgren wrote:
> > Hi Dave,
> >
> > Thanks for the file. It works just fine.
> >
> >
> > There is however another thing that popped up.
> >
> > I had to update to 2.29.9 (from 2.29.5) first, and I now notice that
> > --no-namespace-defs seems broken. Diffing 2.29.5 and 2.29.9 makes me
> guess
> > that the introduction of SchemaNamespaceDict might be the issue here.
> Maybe
> > there's another way to get around this.
> >
> > Cheers,
> > Olof
> >
> >
> > On Wed, Mar 14, 2018 at 12:56 AM, Dave Kuhlman <dkuhl...@davekuhlman.org
> >
> > wrote:
> >
> > > Olof,
> > >
> > > OK, this time it's actually attached.
> > >
> > > Dave
> > >
> > >
> > > --
> > >
> > > Dave Kuhlman
> > > http://www.davekuhlman.org
> > >
>
> --
>
> Dave Kuhlman
> http://www.davekuhlman.org
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to