You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
normalizedString represents white space normalized strings. The ·value space· of normalizedString is the set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters. The ·lexical space· of normalizedString is the set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters. The ·base type· of normalizedString is string.
token represents tokenized strings. The ·value space· of token is the set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters, that have no leading or trailing spaces (#x20) and that have no internal sequences of two or more spaces. The ·lexical space· of token is the set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters, that have no leading or trailing spaces (#x20) and that have no internal sequences of two or more spaces. The ·base type· of token is normalizedString.
therefore, on XML-(de)normalization for normalizedString, the following chars must be replaced by space():
carriage return: \r (#xD)
line feed: \n (#xA)
tab: \t (#x9)
Therefore, on XML-(de)normalization for token, the following must apply:
all from above
consecutive spaces are collapsed to one space.
leading and trialing spaces are truncated
Affected are only fields that are defined as normalizedString respective token in XML spec!
Other field MUST NOT be affected!
The text was updated successfully, but these errors were encountered:
CycloneDX uses http://www.w3.org/2001/XMLSchema - which defines
normalizedString
as follows:CycloneDX uses http://www.w3.org/2001/XMLSchema - which defines
token
as follows:therefore, on XML-(de)normalization for
):
normalizedString
, the following chars must be replaced by space(\r
(#xD)\n
(#xA)\t
(#x9)Therefore, on XML-(de)normalization for
token
, the following must apply:Affected are only fields that are defined as
normalizedString
respectivetoken
in XML spec!Other field MUST NOT be affected!
The text was updated successfully, but these errors were encountered: