Support dynamic attribute of origin element

Bug #1035816 reported by Tatsuhiro Tsujikawa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmetalink
Fix Released
Medium
Tatsuhiro Tsujikawa

Bug Description

The current code stores the value in the origin element of RFC 5854 Metalink version 4 to the origin member of metalink_t.
But the dynamic attribute of the origin element is ignored. It should be parsed and stored in metalink_t as well.

In Metalink version 3, origin is the attribute of metalink element. The dynamic attribute is not present but
the type attribute of metalink element plays that role. Since Metalink version 3 is still widely used, these
attributes should be also supported.

References:
v3: http://metalinker.org/Metalink_3.0_Spec.txt
v4: http://tools.ietf.org/html/rfc5854#section-4.2.9

Changed in libmetalink:
importance: Undecided → Medium
Changed in libmetalink:
status: New → Fix Committed
Changed in libmetalink:
milestone: libmetalink-0.1.1 → none
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.