Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Won't Fix
-
Affects Version/s: 4.1.0
-
Fix Version/s: Unscheduled
-
Component/s: Core CiviCRM
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
The XML output is not compliant:
- record elements should not be numbered
- element names must not start with a number
Naming conventions: http://www.w3schools.com/xml/xml_elements.asp
Online validator: http://www.w3schools.com/xml/xml_validator.asp
This is not OK:
<Result>
<1>
<contact_id>1</contact_id>
<first_name>John</first_name>
</1>
<2>
<contact_id>2</contact_id>
<first_name>John</first_name>
</2>
</Result>
This is OK:
<Result>
<Contact>
<contact_id>1</contact_id>
<first_name>John</first_name>
</Contact>
<Contact>
<contact_id>2</contact_id>
<first_name>John</first_name>
</Contact>
</Result>