2 Replies Latest reply on Jun 5, 2008 1:21 PM by bravocharlie.seam.signup.benny.me.uk

    Allow a namespace in Facelet to "pass through"

    bravocharlie.seam.signup.benny.me.uk

      I need to include a namespace in my resulting XHTML document


      I want my output to look something like


      <?xml version="1.0" encoding="utf-8" ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
      ...



      At the moment, if I have the following in my facelet


      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE html
           PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
              xmlns:ui="http://java.sun.com/jsf/facelets"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:s="http://jboss.com/products/seam/taglib"
              xmlns:v="urn:schemas-microsoft-com:vml"
              >



      The vml namespace gets swallowed up.  Any way to allow it to pass through?


      Cheers - Ben