XML syntactic mistake
- Article Type: General
- Product: Verde
- Product Version: 2
Description:
When issuing "Report of IP Ranges by Licensor" in XML format, there is XML syntax problem in the Institute/Instance_address record due to the embedded slash sign. As a result the xml file cannot be displayed.
Scenarion for example:
Search for active e-product and create active license record.
Enter to the "Locations" tab
Choose library and create ip ranges
Go to the Library record and make sure that the chosen library has an address details
Go to the KB Tools, select a tool Report
Run "Report of IP Ranges by Licensor" while the XML format is selected
Select a tool: View Report Output and check the report
The report cannot be displayed.
The reason is the backslash in the Library address field "<Institute/Instance_address>".
When the "Institute/Instance_address" was changed to "Institute_Instance_address", the report was displayed correctly.
w/a: Use the following command:
sed -e "s/\([^<]\)\(\/\)/\1_/g" < [input] > [output]
Resolution:
- Article last edited: 10/8/2013