On 09/11/2015 01:06 PM, Leif Halvard Silli (russisk.no) wrote:
Citing the MIME type registration for XHTML: «3. File extension(s) :
"xhtml" and "xht" are sometimes used.»

https://www.iana.org/assignments/media-types/application/xhtml+xml

Thus, it would be nice if XXE would recognize .xht as the 3-letter file
extension for XHTML documents.

No problem. Will do.



    I made this simple change in
    <XXE_install_dir>/addon/config/xhtml/xhtml_support_base.incl:

    ------------------------------------------------------------------------

    <linkType>
    <link match="html:a[@href]" href="@href"


        includePath=".[xs]?htm(l)?$" />

    replaced by (notice the new includePath pattern):

    ------------------------------------------------------------------------

    <linkType>
    <link match="html:a[@href]" href="@href"


        includePath=".[xs]?ht((m)?l)?$" />

    and now "Follow Link" works, but not as I expected it: I expected
    XXE to open your "00-included-doc.xht".

Thanks. (But how support for .xht gets built in.)


The XXE v6.4 released this morning can follow links found in ".xht" files (that is, I've left includePath=".[xs]?ht((m)?l)?$" in the production configuration).

However I forgot to add ".xht" as a possible extension for XHTML files. we'll do that for the next release.


--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to