You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by eg...@apache.org on 2003/12/07 19:44:39 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/xslt/exception sax-parsing.xsl

egli        2003/12/07 10:44:39

  Added:       src/webapp/lenya/xslt/exception sax-parsing.xsl
  Log:
  Add an error screen for the sax-parsing exception which can happen in
  the one form editor if non-validating xml is entered.
  
  Revision  Changes    Path
  1.1                  cocoon-lenya/src/webapp/lenya/xslt/exception/sax-parsing.xsl
  
  Index: sax-parsing.xsl
  ===================================================================
  <?xml version="1.0" encoding="iso-8859-1"?>
  
  <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:page="http://apache.org/cocoon/lenya/cms-page/1.0"
    >
    
    <xsl:import href="../util/page-util.xsl"/>
    
    <xsl:variable name="separator" select="','"/>
    
    <xsl:template match="/">
      
      <page:page>
        <page:title>Sax parsing problem</page:title>
        <page:body>
  	<div class="lenya-box">
  	  <div class="lenya-box-title">Cannot parse the xml</div>
  	  <div class="lenya-box-body">
  	    <p>
  	      An error occured while parsing the xml you entered. Most
                likely you entered non-validating xml.</p>
  	  </div>
  	</div>
        </page:body>
      </page:page>
    </xsl:template>
    
  </xsl:stylesheet>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org