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

Having trouble installing Oxygen? Got a bug to report? Post it all here.
kphill
Posts: 2
Joined: Fri May 16, 2025 12:53 am

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

Post 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?
Radu
Posts: 9473
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu »

Hi,
Please see here: post59155.html#p59155
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
kphill
Posts: 2
Joined: Fri May 16, 2025 12:53 am

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

Post 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
Radu
Posts: 9473
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu »

Hi Keith,
Right, I think this should work.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply