Well XHTML is XML, and if you mark the webpage as XHTML by having the XML 
DOCTYPE (absolutely required) and have a correct xmlns attribute in the 
<head> (also absolutely required) then it would likely do what you expected.

However, HTML5 is not even remotely XHTML (much as I wish XHTML took over, 
regular parsing is so much easier than the horror that is HTML4/5) as not 
only does it allow some tags to not have an ending tag, it mandates it in 
some places, and forces you to make explicit ending tags even on things 
that never have content.  Sadly, HTML5 is where all development is being 
done, XHTML is dead and missing features now.


On Tuesday, February 14, 2017 at 11:55:20 PM UTC-7, Fabian B wrote:
>
> Thank you.
> Apparently [X]HTML is not XML.
>
> On Tuesday, February 14, 2017 at 6:26:58 PM UTC+2, Peter Damoc wrote:
>>
>> main_js.html is invalid 
>>
>> you need 
>> <script src="main.js"></script>
>> not 
>> <script src="main.js" />
>>
>>
>>
>>
>> On Tue, Feb 14, 2017 at 1:13 AM, Fabian B <fabia...@gmail.com> wrote:
>>
>>> I created a github project that shows my problem:
>>> https://github.com/fabian20ro/elm-sample - see the readme links...
>>>
>>> How should I change the main_js.html to properly use what elm-make 
>>> --output main.js produced?
>>> I'm really puzzled since eveywhere I look I see exactly this example. I 
>>> assume since everyone is giving it, it should work for everybody else?!
>>>
>>> Thanks for the help.
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Elm Discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to elm-discuss...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> There is NO FATE, we are the creators.
>> blog: http://damoc.ro/
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to