You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2004/01/26 01:55:09 UTC

DO NOT REPLY [Bug 26426] New: - XMLUri incorrectly determines a registry based authority

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26426>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26426

XMLUri incorrectly determines a registry based authority

           Summary: XMLUri incorrectly determines a registry based authority
           Product: Xerces-C++
           Version: Nightly build (please specify the date)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Utilities
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: berin@ozemail.com.au


Note - applies to cvs.  Not present in 2.4

If there is no username ("fred@") in a server name, the
isValidServerBasedAuthority(XMLCh*, int, XMLCh*, MemoryManger*) method will
return false.

A simple fix is pasted below, but there is probably a nicer way to handle it.

Cheers,
    Berin

autobuild@atlas:util$ cvs diff XMLUri.cpp
Index: XMLUri.cpp
===================================================================
RCS file: /home/cvspublic/xml-xerces/c/src/xercesc/util/XMLUri.cpp,v
retrieving revision 1.23
diff -r1.23 XMLUri.cpp
1551c1551
<         return false;
---
>         return true;

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org