Page 1 of 1

Validation Error when using "build" or "building" in XML file name

Posted: Fri May 16, 2025 1:05 am
by kphill
I triggered an issue while running validation reported out as:
/Topics/First Chapter/topic.dtd (No such file or directory)

Code: Select all

System ID: /Topics/First Chapter/building_a_new_usb_drive.xml
Main validation file: /Topics/First Chapter/building_a_new_usb_drive.xml
Scenario name: Custom DITA Validation
Document type: DITA Customization
Engine name: ANT Validator
Severity: error
Description: /Topics/First Chapter/topic.dtd (No such file or directory)

Code: Select all

System ID: /Topics/First Chapter/build_stuff_now.xml
Main validation file: /Topics/First Chapter/build_stuff_now.xml
Scenario name: Custom DITA Validation
Document type: DITA Customization
Engine name: ANT Validator
Severity: error
Description: /Topics/First Chapter/topic.dtd (No such file or directory)
Renaming the XML file using an uppercase B, prepending another term before "build" or "building", or renaming the file resolves the issue.

I am running <oXygen/> XML Editor 24.1, build 2022110312

Has anyone else experienced this issue?

Re: Validation Error when using "build" or "building" in XML file name

Posted: Fri May 16, 2025 6:12 am
by Radu
Hi,
Please see here: post59155.html#p59155
Regards,
Radu

Re: Validation Error when using "build" or "building" in XML file name

Posted: Fri May 16, 2025 8:33 pm
by kphill
Thanks, Radu.
I reviewed the link you provided. That was very helpful.
I assume I can remove build*.xml from the Ant build patterns to keep this issue from recurring?
Regards
Keith

Re: Validation Error when using "build" or "building" in XML file name

Posted: Mon May 19, 2025 6:39 am
by Radu
Hi Keith,
Right, I think this should work.
Regards,
Radu