> As you can see, the reference to SIGNED-PROPS-384a4f25 >-5fd6-46ba-a61b-91d00ff7e012 exists in the saved file.
That doesn't matter. The fact that the attribute is called ID doesn't make it an "ID" in XML schema terms. Welcome to XML. > Isn't the already signed doc content supposed to be faithfully > saved in the xml file on disk? It's not a matter of "faithful" reproduction. IDness in "base" XML is not a concept. It only exists in XML Schema or DTD world. You have to have a grammar for the document and validate with that grammar to establish that, or you have to apply code at runtime to forcibly make them IDs with the DOM API to allow resolution of the ID after parsing. Those setIdAttribute calls you made while creating the document have to be used on the other side as well. -- Scott
