Skip to main content

is_pubid_char

Function is_pubid_char 

Source
pub fn is_pubid_char(c: char) -> bool
Expand description

PubidChar ::= #x20 | #xD | #xA | [a-zA-Z0-9] | [-’()+,./:=?;!*#@$_%]

A public identifier is a restricted character set, not free text. Nothing checked it, so <!NOTATION n PUBLIC "a^b"> was accepted.