DX Application Performance Management

  • 1.  testing domains.xml file for syntax errors

    Posted Aug 28, 2017 02:19 PM

    What is the best method to test the XML format inside the domains.xml for syntax errors?



  • 2.  Re: testing domains.xml file for syntax errors

    Broadcom Employee
    Posted Aug 28, 2017 02:22 PM

    Dear Scott:

     Let's hear first what other customers and partners are doing in this area. In a few hours, CA staff may respond

     

    Thanks

    Hal German



  • 3.  Re: testing domains.xml file for syntax errors
    Best Answer

    Posted Aug 28, 2017 02:37 PM

    you can copy domains.xml file to your desktop/ Laptop. when you open this xml file it will open in in browser. if it has any syntax error you can see it easily.



  • 4.  Re: testing domains.xml file for syntax errors

    Broadcom Employee
    Posted Aug 28, 2017 05:41 PM

    Thanks junwah (Junaid)  for sharing your experience and so promptly! Much appreciated!

    Hal German



  • 5.  Re: testing domains.xml file for syntax errors

    Posted Aug 29, 2017 08:51 AM

    I found a tool that is working.  Linux tool => xmlwf

     

    Will display errors like this for typos:

     

    xmlwf test_domains.xml

    test_domains.xml:47:2: mismatched tag

     

    xmlwf test_domains.xml

    test_domains.xml:38:13: not well-formed (invalid token)



  • 6.  Re: testing domains.xml file for syntax errors

    Broadcom Employee
    Posted Aug 29, 2017 11:14 AM

    Thanks Scott for sharing! A Community is enriched when experiences and tools are communicated to others.