[XML-SIG] Moving DOM node hierarchies
Clarence Gardner
clarence@netlojix.com
Tue, 10 Oct 2000 18:19:53 -0700
Thanks. I read the references, but my posting was more oriented toward
why the insertion was disallowed in the first place. Of course, the
people writing the specs put a lot more thought into these things than
I do, but I would think this would come up quite often and they might
have rationalized it. I was particularly amazed, after coming across
this, that DocumentFragments couldn't even be inserted. I see in the
spec for Level 2 references to how default attributes are handled between
the two documents, which is certainly an issue. I guess maybe this was
in fact just overlooked the first time. Oh well.
On Tue, Oct 10, 2000 at 06:39:17PM -0500, Jeremy J. Sydik wrote:
> I had a similar problem a while back, but that was before the XML-SIG/4DOM
> integration. It would be helpful to see the code that is failing or a test
> case that shows the same error. In the meantime, here are the sig archive
> messages related to my problems:
>
> http://www.python.org/pipermail/xml-sig/2000-March/003656.html
> http://www.python.org/pipermail/xml-sig/2000-March/003668.html
>
> http://www.python.org/pipermail/xml-sig/2000-April/003747.html
> http://www.python.org/pipermail/xml-sig/2000-April/003748.html
>
> Clarence Gardner wrote:
> >
> > I have a program in which a bunch of unrelated functions return a
> > node hierarchy to a central function, which then wants to package them
> > all up into a document and send it on its way. Unfortunately, I'm
> > getting WRONG_DOCUMENT errors when I do this, because each of the trees
> > was generated using a throw-away document. It would be obnoxious to have
> > to create the result document first and then provide it everywhere that
> > a subtree is created.
> >
> > Does this seem like a strange way to be going about things? It seemed
> > quite reasonable to me. In fact, I don't understand the reasoning behind
> > the only-append-in-the-creating-document restriction. Can anyone shed
> > light on this?
> >
> > Thanks.
> >
> > --
> > Clarence Gardner
> > Software Engineer
> > NetLojix Communications
> > clarence@netlojix.com
> >
> > _______________________________________________
> > XML-SIG maillist - XML-SIG@python.org
> > http://www.python.org/mailman/listinfo/xml-sig
--
Clarence Gardner
Software Engineer
NetLojix Communications
clarence@netlojix.com