Alexey,

I'll go ahead and add the following description of "whitespace" in section 1.1 
"Conventions Used in This Document":

"whitespace" is based on the definition for the XML schema whiteSpace datatype 
in [W3C.REC-xmlschema-2-20041028], which only includes the ASCII whitespace 
characters #x9 (tab), #xA (linefeed), #xD (carriage return), and #x20 (space).  

-- 
 
JG



James Gould
Distinguished Engineer
[email protected] 
<applewebdata://13890C55-AAE8-4BF3-A6CE-B4BA42740803/[email protected]>

703-948-3271
12061 Bluemont Way
Reston, VA 20190

Verisign.com <http://verisigninc.com/>

On 1/24/20, 4:10 AM, "Alexey Melnikov" <[email protected]> wrote:

    Hi James,
    Just replying to 1 point below:
    
    > On 23 Jan 2020, at 21:29, Gould, James <[email protected]> wrote:
    > 
    >    2) In the same section:
    > 
    >       <loginSec:pw>:  OPTIONAL plain text password that is case sensitive,
    >           has a minimum length of 6 characters, and has a maximum length
    >           that is up to server policy.  All leading and trailing 
whitespace
    >           is removed, and all internal contiguous whitespace that includes
    >           #x9 (tab), #xA (linefeed), #xD (carriage return), and #x20
    >           (space) is replaced with a single #x20 (space).  This element
    >           MUST only be used if the [RFC5730] <pw> element is set to the
    >           "[LOGIN-SECURITY]" value.
    > 
    >    What is the definition of "whitespace"? Does this only include 
characters
    >    listed above or does it also include other Unicode characters (e.g. 
Unicode
    >    whitespace property)? If the former, then instead of using "whitespace 
that
    >    includes ..." use something like "whitespace is defined as one of ..."
    > 
    > JG - The definition of "whitespace" is based on the definition for XML 
schema whiteSpace (https://www.w3.org/TR/xmlschema11-2/#rf-whiteSpace), which 
does not include non-ASCII whitespace.  Validating XML parsers will apply the 
XML schema whitespace rules defined for the XML Schema "token" type 
(https://www.w3.org/TR/xmlschema11-2/#token), which is explicitly included in 
the description of the <loginSec:pw> element based on feedback from the working 
group.  I don't recommend use of non-ASCII characters for passwords, but I 
don't believe the extension should disallow it.  
    
    Please clarify this in the document. Probably the easiest way is to add 
definition of whitespace to the terminology section.
    
    BTW, I believe Precis framework will canonicalize all Unicode whitespaces 
(around 33 different characters) to ASCII space.
    
    
    Best Regards,
    Alexey
    

_______________________________________________
regext mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/regext

Reply via email to