Commit e1371a31 authored by jake%acutex.net's avatar jake%acutex.net

Bug 113438 - The DTD from Bugzilla's XML output was not correct, so any attempts…

Bug 113438 - The DTD from Bugzilla's XML output was not correct, so any attempts to validate the output were futile. Patch by Jan <tamino_xml@yahoo.com> r= jake
parent 4e6767d4
<!ELEMENT bugzilla (bug+)> <!ELEMENT bugzilla (bug+)>
<!ATTLIST bugzilla version CDATA #REQUIRED> <!ATTLIST bugzilla
<!ATTLIST bugzilla urlbase CDATA #REQUIRED> version CDATA #REQUIRED
<!ATTLIST bugzilla maintainer CDATA #REQUIRED> urlbase CDATA #REQUIRED
<!ATTLIST bugzilla exporter CDATA #IMPLIED> maintainer CDATA #REQUIRED
<!ELEMENT bug (bug_id, exporter, urlbase, bug_status, resolution?, product, exporter CDATA #IMPLIED
priority, version, rep_platform, assigned_to, delta_ts, component, >
reporter, target_milestone?, bug_severity, creation_ts, qa_contact?, <!ELEMENT bug (bug_id, (exporter?, urlbase?, bug_status, product, priority, version, rep_platform, assigned_to, delta_ts, component, reporter, target_milestone?, bug_severity, creation_ts, qa_contact?, op_sys, resolution?, bug_file_loc?, short_desc?, keywords*, status_whiteboard?, dependson*, blocks*, cc*, long_desc*, attachment*)?)>
status_whiteboard?, op_sys, short_desc?, keywords*, dependson*, <!ATTLIST bug
blocks*, cc*, long_desc?, attachment*)> error (NotFound | NotPermitted | InvalidBugId) #IMPLIED
<!ATTLIST bug error (NotFound|NotPermitted|InvalidBugId) #IMPLIED> >
<!ELEMENT bug_id (#PCDATA)> <!ELEMENT bug_id (#PCDATA)>
<!ELEMENT short_desc (#PCDATA)> <!ELEMENT exporter (#PCDATA)>
<!ELEMENT urlbase (#PCDATA)>
<!ELEMENT bug_status (#PCDATA)> <!ELEMENT bug_status (#PCDATA)>
<!ELEMENT dependson (#PCDATA)>
<!ELEMENT blocks (#PCDATA)>
<!ELEMENT product (#PCDATA)> <!ELEMENT product (#PCDATA)>
<!ELEMENT priority (#PCDATA)> <!ELEMENT priority (#PCDATA)>
<!ELEMENT version (#PCDATA)> <!ELEMENT version (#PCDATA)>
<!ELEMENT cc (#PCDATA)>
<!ELEMENT rep_platform (#PCDATA)> <!ELEMENT rep_platform (#PCDATA)>
<!ELEMENT assigned_to (#PCDATA)> <!ELEMENT assigned_to (#PCDATA)>
<!ELEMENT delta_ts (#PCDATA)> <!ELEMENT delta_ts (#PCDATA)>
...@@ -27,15 +25,21 @@ blocks*, cc*, long_desc?, attachment*)> ...@@ -27,15 +25,21 @@ blocks*, cc*, long_desc?, attachment*)>
<!ELEMENT bug_severity (#PCDATA)> <!ELEMENT bug_severity (#PCDATA)>
<!ELEMENT creation_ts (#PCDATA)> <!ELEMENT creation_ts (#PCDATA)>
<!ELEMENT qa_contact (#PCDATA)> <!ELEMENT qa_contact (#PCDATA)>
<!ELEMENT status_whiteboard (#PCDATA)>
<!ELEMENT op_sys (#PCDATA)> <!ELEMENT op_sys (#PCDATA)>
<!ELEMENT resolution (#PCDATA)>
<!ELEMENT bug_file_loc (#PCDATA)>
<!ELEMENT short_desc (#PCDATA)>
<!ELEMENT keywords (#PCDATA)> <!ELEMENT keywords (#PCDATA)>
<!ELEMENT status_whiteboard (#PCDATA)> <!ELEMENT dependson (#PCDATA)>
<!ELEMENT blocks (#PCDATA)>
<!ELEMENT cc (#PCDATA)>
<!ELEMENT long_desc (who, bug_when, thetext)> <!ELEMENT long_desc (who, bug_when, thetext)>
<!ELEMENT who (#PCDATA)> <!ELEMENT who (#PCDATA)>
<!ELEMENT bug_when (#PCDATA)> <!ELEMENT bug_when (#PCDATA)>
<!ELEMENT thetext (#PCDATA)> <!ELEMENT thetext (#PCDATA)>
<!ELEMENT attachment (id, date, attach_desc, type, data)> <!ELEMENT attachment (attachid, date, desc, type?, data?)>
<!ELEMENT id (#PCDATA)> <!ELEMENT attachid (#PCDATA)>
<!ELEMENT date (#PCDATA)> <!ELEMENT date (#PCDATA)>
<!ELEMENT desc (#PCDATA)> <!ELEMENT desc (#PCDATA)>
<!ELEMENT type (#PCDATA)> <!ELEMENT type (#PCDATA)>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment