There appears to be an error in omitting a required namespace when a schematron rule employs one of the external namespaces:
See enclosure for the Cassini_IngestLDD and the files that were built using this command:
lddtool_1E30_edited -lpJ1 -V 1J00 PDS4_CASSINI_IngestLDD.xml > log-a.txt
These are the generated namespaces:
Note that the cartLDD is not listed. And, the omission causes an error in the schematron.
These are the namespaces that should be generated:
### 🕵️ Expected behavior
From the schematron rules, I expected that these namespaces would be generated:
When an external namespace is specified in one or more rules:
### 📜 To Reproduce
```bash
1. execute LDDTool using this command: lddtool_1E30_edited -lpJ1 -V 1J00 PDS4_CASSINI_IngestLDD.xml > log-a.txt
2. examine log.txt for errors. NO errors but lots of Warnings.
3. examine the generated schematron file to see Error.
3. edit in the missing cartLDD namespace -- all is good.
...
```
### 🖥 Environment Info
```bash
- Version of this software is v14.3.0
- Operating System: windows
...
```
### 📚 Version of Software Used
- Version of this software is v14.3.0
### 🩺 Test Data / Additional context
See zip above.
### 🦄 Related requirements
🦄 #xyz
### ⚙️ Engineering Details
_No response_
Checked for duplicates
Yes - I've already checked
🐛 Describe the bug
There appears to be an error in omitting a required namespace when a schematron rule employs one of the external namespaces: