emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ffap.el: Exclude angle brackets from file names in XML


From: Yuri Khan
Subject: Re: [PATCH] ffap.el: Exclude angle brackets from file names in XML
Date: Sun, 10 Mar 2024 14:20:59 +0700

On Sun, 10 Mar 2024 at 13:41, Eli Zaretskii <eliz@gnu.org> wrote:

> > My bad, it doesn't actually say <file>, it says <recorddeds>, 
> > <bagdescription>, <lookupFolder>, etc.
>
> If those tags still mean it's a file name, my question still stands.

Tags do not inherently mean anything in XML. Only a specific XML-based
format definition gives them meaning, and there is no way for either a
doctype definition or an XML Schema to say “elements named X
definitely contain file names”. The closest is XML Schema’s anyURI
datatype, but it might refer not necessarily to a local file but
possibly to any other URI-addressed resource.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]