TeamcenterKnowledge

Volume and database management utilities

xml_validator

Checks the XML file against the document type definition (DTD) to which it should conform. Syntax xml_validator [-v=always | never | auto*] file.xml Arguments -v Specifies the validation scheme: always, never, auto*. If not explicitly stated, defaults to auto*. file .xml Specifies the XML file to be validated. -h Displays help for this utility. Environment As specified in Setting up a Teamcenter command-line environment. Files As specified in Log files produced by Teamcenter. Examples The following example checks only the structure of the XML file: Copy xml_validator -v=never file1.xml This example produces an error if the XML file does not have an associated DTD file. It always checks the validity of the XML file. Copy xml_validator -v=always file1.xml This example checks the structure of the XML file if it does not correspond to a DTD. If the file corresponds to a DTD, it checks the validity of the file's XML against that of the DTD. Copy xml_validator file1.xml Related Topics Introduction to administering volumes

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/uqa1737253718952/xml_validator.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)