When I run an ant task to generate XSLs, I get the following error...
Namespace for prefix 'dg' has not been declared.
The error seems to be coming from the datagen-schematron.xsl file, but I am unsure of this. I am attaching this file, and several other files I believe are pertinent.
I am very unfamiliar with this process, as I am simply running a process created by someone else. I have only a modest amount of background knowledge. Hopefully, someone can tell me what to check, study or do to solve this problem.
[xslt] Transforming into C:\eclipse\Workspace\datagen\xsl-gen
[xslt] Processing C:\eclipse\Workspace\datagen\template\lint.xml to C:\eclipse\Workspace\datagen\xsl-gen\lint.xsl
[xslt] Loading stylesheet C:\eclipse\Workspace\datagen\lib\dev\schematron\datagen-schematron.xsl
[xslt] : Error! Namespace for prefix 'dg' has not been declared.
[xslt] Failed to process null
C:\eclipse\Workspace\datagen\build.xml:79: The following error occurred while executing this line:
C:\eclipse\Workspace\datagen\build.xml:107: javax.xml.transform.TransformerException: java.lang.RuntimeException: Namespace for prefix 'dg' has not been declared.
Total time: 906 milliseconds