Details
-
Type:
Improvement
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: klocwork-plugin
-
Labels:None
-
Environment:rhel 5.5
-
Similar Issues:
Description
schema changed. current plugin can digest
<errorList version="9.2.2">
...
<citingStatus>Analyze</citingStatus><state>Existing</state><severity>Error</severity><severitylevel>3</severitylevel><displayAs>Error</displayAs><dateOriginated>1327694645000</dateOriginated>
but new owner field appears in 9.5
<errorList version="9.5.2">
<citingStatus>Analyze</citingStatus><state>New</state><owner>unowned</owner><severity>Critical</severity><severitylevel>1</severitylevel><displayAs>Error</displayAs>
that causes publisher to be less than graceful:
22:08:53 Processing 2 files with the pattern 'kw*.xml'.
22:08:53 Parsing has been canceled. XML Validation failed. See errors below :
22:08:53 At line 47 of file:/view/mafi_int_kw/vobs/csci33/csc11/kw.xml:cvc-complex-type.2.4.a: Invalid content was found starting with element 'owner'. One of '
' is expected.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Workflow | JNJira [ 143319 ] | JNJira + In-Review [ 190499 ] |
This brute force sed script seems to help
${KWS}/kwinspectreport --build build_${BUILD} --url ${KWDB}/${PROJECT} -xml ${FILE}.raw
cat ${FILE}.raw | egrep -v "(<trace|<taxonom|<.taxonomies|<.trace|<owner)" > ${FILE}