Menu

using DiffFactory.CONTEXT

Help
2006-11-21
2013-05-01
  • Karl H. Beckers

    Karl H. Beckers - 2006-11-21

    has anybody been successful with using DiffFactory.CONTEXT to true?
    Turning this on gives me an org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.

    I've come across this when accidentally using the crimson parser while cloning nodes, but that does not seem to be the case here as the exception displays: org.apache.xerces.dom.NodeImple.insertBefore(Unknown Source)

    Anybody already solved this?

    Karl.

     
    • Adrian Mouat

      Adrian Mouat - 2009-04-05

      Do you need the context stuff?

      I'm removing it for the next release as it wasn't entirely working and I didn't think it was used.

      Let me now if you need it; it shouldn't be a lot of work to add.

       
  • Jude Anthony

    Jude Anthony - 2011-06-24

    I'm just starting to use diffxml, and I'm getting a lot of "node()" references.  In the DUL document, it says that adding tag names is part of context. 

    That would really help me out a lot.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.