Hi Jeff,
That is not proper XML. For example, your <source> tag should be closed by
a </source> tag. And indeed, attributes without assignment of a value are
not valid XML neither. Everything that is in a message resource bundle must
be properly formatted XML, which is more strict than what browsers allow.
Best regards,
Wim.
2014-07-27 2:58 GMT+02:00 Jeffrey Scott Flesher Gmail <
jeffrey.scott.fles...@gmail.com>:
> This does not work
> <iframe width="640" height="360" src="source" frameborder="0"
> allowfullscreen></iframe>
> This Works
> <iframe width="640" height="360" src="source" frameborder="0"
> allowfullscreen="1"></iframe>
> allowfullscreen http://www.allowfullscreen.com/
>
> It does not like any of the newer HTML5 tags like:
> <audio controls><source src='audio.mp3' type='audio/mpeg'>Your Browser
> Does Not Support this Audio Format.</audio>
>
> I have not troubleshot this yet, I was wondering if you were aware of it.
> Test case:
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <messages>
> <message id="x-template">
> <iframe width="640" height="360" src="//
> www.youtube.com/embed/VKFfkBc0s1o" frameborder="0"
> allowfullscreen></iframe>
> <audio controls><source src='audio.mp3' type='audio/mpeg'>Your
> Browser Does Not Support this Audio Format.</audio>
> </message>
> </messages>
>
> myTemplate = new Wt::WTemplate(Wt::WString::tr("x-template"), this);
>
> [error] "WMessageResources: Error reading /test.xml: at character 211:
> expected ="
>
> page will not render:
> ??x-template??
>
> Thanks
> Jeff Flesher
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest