Carlyle Deauna • over 9 years ago
Question about node in AKOMA NTOSO
Good Afternoon, Ladies And Gentlemen.
I have a question about a node. I see it when I am working on the metadata of AKOMA NTOSO. It says
"Cannot read property 'parentNode' of undefined.
Can anyone clarify this for me?
Comments are closed.
Kimberly Ferguson Manager • over 9 years ago
Thank you for your question.
The error you mention has nothing to do with Akoma Ntoso but most probably with the library and programming language you are using to handle XML documents. The lack of any specific detail about the context and programming language in which this error occurs makes it difficult for us to provide any answer beyond the most basic explanation of the error.
An error such as "Cannot read property X of undefined" means that you have not created or populated a variable out of which you are nonetheless trying to read property X. Look for a piece of code that says X.parentNode (or something else instead of X). Once you have found it, you must understand why X does not exist and track back the code until you find where it should start existing in the first place.
For additional questions about programming with XML documents, we suggest you look up, read and, just in case, ask at a better suited web site, for instance stackoverflow.com or w3schools.com.