Re: Problem with Fore's undefined attributes in eXide

Julian Jarosch <[email protected]> Tue, 23 Sep 2025 17:39:04 +0200
Newsgroups gmane.text.xml.exist
Message-ID <[email protected]>
--===============3694739191286889839==
Content-Type: multipart/alternative;
	boundary="------------TZ01SdJHzSF0GKGcFyFys2FY"
Content-Language: de-DE, de-DE-frami

--------------TZ01SdJHzSF0GKGcFyFys2FY
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 8bit

I’m quite sure eXist only parses XML (and therefore, by extension, 
XHTML). A question based on that might be whether eXist should react to 
"<!DOCTYPE html>" by not trying to parse it? But this is off the top of 
my hat.

Best,
Julian

Am 21.09.25 um 22:13 schrieb Henrik Nielsen:
> I have just started using Fore with exist.db and have run into the 
> problem that eXide will not accept undefined attributes in Fore's 
> custom elements. So "<fx-fore create-nodes>" (without quotation marks 
> in my page) is not treated as a valid opening tag since the attribute 
> "create-nodes" is expected to be given a value. Does exist.db parse 
> HTML as XML, disregarding both the .html extension and the valid 
> doctype declaration ("<!DOCTYPE html>")? Or have I made some stupid 
> mistake?
>
> The list archive was offline and I didn't find anything relevant at 
> Stack Overflow.
>
> Henrik Thiil Nielsen
>
>
> _______________________________________________
> Exist-open mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/exist-open
--------------TZ01SdJHzSF0GKGcFyFys2FY
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I’m quite sure eXist only parses XML (and therefore, by
      extension, XHTML). A question based on that might be whether eXist
      should react to "&lt;!DOCTYPE html&gt;" by not trying to parse it?
      But this is off the top of my hat.</p>
    <p>Best,<br>
      Julian<br>
    </p>
    <div class="moz-cite-prefix">Am 21.09.25 um 22:13 schrieb Henrik
      Nielsen:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALdN5-=4XMt+ATPz-vv3-_wJPy-z0yZywsq1zx8W20ruXiGwgg@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_default" style="font-size:large">I have just
          started using Fore with exist.db and have run into the problem
          that eXide will not accept undefined attributes in Fore's
          custom elements. So "&lt;fx-fore create-nodes&gt;" (without
          quotation marks in my page) is not treated as a valid opening
          tag since the attribute "create-nodes" is expected to be given
          a value. Does exist.db parse HTML as XML, disregarding both
          the .html extension and the valid doctype declaration
          ("&lt;!DOCTYPE html&gt;")? Or have I made some stupid
          mistake? </div>
        <div class="gmail_default" style="font-size:large"><br>
        </div>
        <div class="gmail_default" style="font-size:large">The list
          archive was offline and I didn't find anything relevant at
          Stack Overflow.</div>
        <div class="gmail_default" style="font-size:large"><br>
        </div>
        <div class="gmail_default" style="font-size:large">Henrik Thiil
          Nielsen</div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
Exist-open mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/exist-open">https://lists.sourceforge.net/lists/listinfo/exist-open</a>
</pre>
    </blockquote>
  </body>
</html>

--------------TZ01SdJHzSF0GKGcFyFys2FY--


--===============3694739191286889839==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============3694739191286889839==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open

--===============3694739191286889839==--