Exemple #1
0
        static XRIPath scanXRIPath(ParseStream oStream)
        {
            // check for a local path regardless of scanAuthority outcome
            XRIAbsolutePath oPath = new XRIAbsolutePath();
            if (oPath.scan(oStream))
            {
                return oPath;
            }
            else
            {
                XRINoSchemePath oRelativePath = new XRINoSchemePath();
                if (oRelativePath.scan(oStream))
                {
                    return oRelativePath;
                }
            }

            return null;
        }
Exemple #2
0
 internal XRIAbsolutePath(XRINoSchemePath oPath)
 {
     moSegments = oPath.moSegments;
     mbAllowColon = true;
 }