mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	xmldoc: Fix issue with xmlstarlet validation
Added the missing xml-stylesheet and Xinclude namespace declarations in pjsip_config.xml and pjsip_manager.xml. Updated make_xml_documentation to show detailed errors when xmlstarlet is the validator. It's now run once with the '-q' option to suppress harmless/expected messages and if it actually fails, it's run again without '-q' but with '-e' to show the actual errors. Change-Id: I4bdc9d2ea6741e8d2e5eb82df60c68ccc59e1f5e
This commit is contained in:
		| @@ -1,6 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE docs SYSTEM "appdocsxml.dtd"> | ||||
| <docs> | ||||
| <?xml-stylesheet type="text/xsl" href="appdocsxml.xslt"?> | ||||
| <docs xmlns:xi="http://www.w3.org/2001/XInclude"> | ||||
| 	<configInfo name="res_pjsip" language="en_US"> | ||||
| 		<synopsis>SIP Resource using PJProject</synopsis> | ||||
| 		<configFile name="pjsip.conf"> | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE docs SYSTEM "appdocsxml.dtd"> | ||||
| <docs> | ||||
| <?xml-stylesheet type="text/xsl" href="appdocsxml.xslt"?> | ||||
| <docs xmlns:xi="http://www.w3.org/2001/XInclude"> | ||||
| 	<manager name="PJSIPQualify" language="en_US"> | ||||
| 		<synopsis> | ||||
| 			Qualify a chan_pjsip endpoint. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user