Earlier today, I posted about transferring XML nodes from one ColdFusion XML document object to another. I briefly mentioned that if you try to do that without first importing the target nodes, ColdFusion will throw the following error:
WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it
It turns out though, this is the same error you would get for trying to add the same node to multiple parents of the same document (something I did accidentally in my code). This error, which made sense for the different documentation use, makes very little sense here (using this wording). Anyway, just thought I would post this finding in case anyone comes across it and is like "But I am only using ONE document?!?!?!?"
Comments (0) | Post Comment | Ask Ben | Permalink | Other Searches | Print Page
Building A ColdFusion XML Document From Scratch
Copying Children From One ColdFusion XML Document To Another
There are no comments posted for this web log entry.