s.petals-microkernel.4.0.2.source-code.management-message.rnc Maven / Gradle / Ivy
#
# Copyright (c) 2005-2012 EBM WebSourcing, 2012-2016 Linagora
#
# This program/library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 2.1 of the License, or (at your
# option) any later version.
#
# This program/library is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program/library; If not, see http://www.gnu.org/licenses/
# for the GNU Lesser General Public License version 2.1.
#
default namespace = "http://java.sun.com/xml/ns/jbi/management-message"
start =
element jbi-task {
attribute version { xsd:decimal },
jbi-task-result
}
jbi-task-result =
element jbi-task-result {
frmwk-task-result,
component-task-result*
}
frmwk-task-result =
element frmwk-task-result {
frmwk-task-result-details,
element is-cause-framework { "YES" | "NO" }?
}
component-task-result =
element component-task-result {
element component-name { xsd:NCName },
component-task-result-details
}
frmwk-task-result-details =
element frmwk-task-result-details {
task-result-details,
element locale { text }
}
component-task-result-details =
element component-task-result-details {
task-result-details
}
task-result-details =
element task-result-details {
element task-id { text },
element task-result { "SUCCESS" | "FAILED" },
element message-type { "ERROR" | "WARNING" | "INFO" }?,
element task-status-msg { msg-loc-info }*,
exception-info*
}
msg-loc-info =
element msg-loc-info {
element loc-token { text },
element loc-message { text },
element loc-param { text }*
}
exception-info =
element exception-info {
element nesting-level { xsd:integer },
msg-loc-info,
element stack-trace { text }
}