Closing tag error

I have an extremely broken page.
When I validate it I get a lot of closing tag errors but I don't understand in what way I have not closed them properly as I have not had this issue before.
Can anyone help?
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.tavcafe.com%2Fevents.php&charset=%28det ect+automatically%29&doctype=Inline&group=0

Thanks guys, that is all really helpful, unfortunately there is a problem.
I have just realised that when I validate the document it is including all of the code that is created through perch outside of the core document.
as you can see from bellow many of the errors are not present because they are created somehow by perch.  I create the perch tags and templates and then I or my client enter in the information we required to be displayed within the perch admin panel and the code is automatically created, which is where those missing <ul> and <li> tags are occuring as well as the multiple nested span tags and the error on line 1139.  As you can see I do have my css in a seperate document linked as you said and my
<doctype>
<html>
<head>
is in the format you suggest.
So how do I fix these code problems when it is autmated by Perch and there is no said document???
The document I am working on looks like this:
<?php include('perch/runtime.php');?>
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<head>
<title>TAV Cafe - Events</title>
<link rel="stylesheet" type="text/css" href="MyFontsWebfontsKit.css"/>
<link rel="stylesheet" href="colorbox.css" />
<link rel="stylesheet" href="gallery.css" />
<link rel="stylesheet" href="events.css" />
<style type="text/css">
@font-face {font-family: 'CallunaSans-Regular';
src: url('webfonts/23937E_0_0.eot');
src: url('webfonts/23937E_0_0.eot?#iefix')
format('embedded-opentype'),
url('webfonts/23937E_0_0.woff')
format('woff'),
url('webfonts/23937E_0_0.ttf')
format('truetype');
body {
    background-image:url(background_image.jpg);
    background-repeat:no-repeat;
    background-color:black;
    background-attachment: scroll;
    background-position:top left;
    background-size: 1024px 800px contain;
#hours { position:absolute;
left:10px; top:10px;
width:300px;
height:30px;
z-index:1;
font-family: Skia, CallunaSans-Regular;
font-size:13px;
font-weight:bold;
color:#a76d2f;
line-height:140%;
word-spacing:1px;
#title_bar { position:absolute;
left:0px; top:55px;
z-index:0;
.rollover a{
    display: block;
   text-indent: -9999px;
   margin: auto auto auto auto;
   cursor: pointer;
   outline: transparent solid 0px;
#title a{ position:absolute;
left:10px; top:70px;
height:86px;
width:325px;
z-index:1;
background: url('title.jpg') no-repeat left top;
#title a:hover{
   background-position: left 0px;
#about a{
position: absolute;
top: 55px; left: 440px;
height: 50px;
width: 128px;
background: url('about_tab.png') no-repeat left top;
#about a:hover{
   background-position: left -50px;
#gallery a{
position:absolute;
top: 55px; left: 655px;
height: 50px;
width: 168px;
background: url('gallery_tab.png') no-repeat left top;
#gallery a:hover{
   background-position: left -50px;
#venue a{ position:absolute;
left:910px; top:55px;
height: 50px;
width:215px;
background: url('venue_tab.png') no-repeat left top;
#venue a:hover{
   background-position: left -50px;
#shop a{
position:absolute;
left:550px; top:115px;
height: 50px;
width:128px;
background: url('shop_tab.png') no-repeat left top;
#shop a:hover{
   background-position: left -50px;
#restaurant a{
position:absolute;
top: 115px; left: 770px;
height: 50px;
width: 190px;
background: url('restaurant_tab.png') no-repeat left top;
#restaurant a:hover{
   background-position: left -50px;
#bar a{ position:absolute;
left:350px; top:115px;
height: 50px;
width:120px;
background: url('bar_tab.png') no-repeat left top;
#bar a:hover{
   background-position: left -50px;
#events a.events-link{ position:absolute;
left:50px; top:180px;
height: 50px;
width:140px;
background: url('events_tab.png') no-repeat left top;
#events a.events-link:hover{
   background-position: left -50px;
#events .events-calendar{ position:absolute;
left:50px; top:230px;
#pop_up_background { position:absolute;
left:340px; top:190px;
height:580px;
width:650px;
z-index:2;
div.scroll
background-color:transparent;
position:absolute;
left:380px; top:200px;
width:600px;
height:550px;
z-index:3;
font-family: Skia, CallunaSans-Regular;
font-size:16px;
color:#a76d2f;
line-height:140%;
word-spacing:1px;
overflow:scroll;
#contact_bar { position:absolute;
left:0px; top:635px;
z-index:1;
#contact a{
position:absolute;
top: 640px; left:0px;
height: 50px;
width: 190px;
z-index: 2;
background: url('contact_tab.png') no-repeat left top;
#contact a:hover{
   background-position: left -50px;
#copyright_background { position:absolute;
left:1020px; top:650px;
z-index:1;
#copyright { position:absolute;
left:1045px; top:755px;
font-family: Arial Black;
font-size:14px;
color:#340000;
line-height:110%;
z-index:2;
#webdesign { position:absolute;
left:1045px; top:660px;
font-family: PrestigeEliM-Reg;
font-size:18px;
color:#340000;
line-height:110%;
z-index:2;
.rollover a{
    display:block;
   text-indent:-9999px;
   margin: auto auto auto auto;
   cursor: pointer;
   outline: transparent solid 0px;
.rollover .events-calendar a{
   display:inline;
   text-indent:-9999px;
   margin: auto auto auto auto;
   cursor: pointer;
   outline: transparent solid 0px;
#website_link a{
position:absolute;
left:1020px; top:675px;
height: 76px;
width: 150px;
z-index:2;
background: url('website_link.png') no-repeat left top;
#website_link a:hover{
   background-position: left 0px;
#fb_icon a{ position:absolute;
left:280px; top:650px;
height: 36px;
width: 36px;
z-index:2;
background: url('fb_icon.jpg') no-repeat left top;
#fb_icon a:hover{
   background-position: left 0px;
#fb-root {position:absolute;
left:190px; top:655px;
z-index:2;
table.calendar {
    width:200px;
    height:200px;
    border-collapse: collapse;
    margin: 10px;
    clear: left;
    background-color:#eb5604;
table.calendar td {
    border: 1px solid #ccc;
    vertical-align: top;
table.calendar td.today {
    background-color:#483229;
    opacity:70%;
table.calendar td.today span.day {
    font-weight: bold;
    color: #bc5000;
table.calendar td.weekend {
    background-color: #483229;
table.calendar td.notinmonth {
    border: none;
    background-color: transparent;
table.calendar td.past {
    text-decoration: line-through;
table.calendar td.notinmonth.weekend {
    background-color: transparent;
table.calendar td span.day {
    display: block;
    color: #ccc;
table.calendar td div.event {
    display: block;
    background-color: #ffffff;
    color: #a76d2f;
    padding: 3px;
    border-radius: 5px;
    border: 1px solid #fff;
ul.calendar-nav {
    width: 200px;
    list-style: none;
    margin: 10px;
    padding: 0;
ul.calendar-nav li {
    width: 33.3%;
    list-style: none;
    margin: 0;
    padding: 0 0 10px 0;
    display: block;
    float: left;
    text-align: center;
ul.calendar-nav li:first-child {
    text-align: left;
ul.calendar-nav li:last-child {
    text-align: right;
/* --- LISTING --- */
ul.events {
    width: 200px;
    list-style: none;
    margin: 10px;
    padding: 0;
    border-top: 1px solid #bed6ec;
ul.events li {
    border-right: 1px solid #bed6ec;
    border-bottom: 1px solid #bed6ec;
    vertical-align: top;
    background-color: #bed6ec;
    clear: left;
ul.events li ul {
    list-style: none;
ul.events li li {
    border: none;
    border-bottom: 1px dotted #999;
    min-height: 0;
    margin-left: 25px;
    padding: 10px;
    background-color: #fff;
    clear: none;
ul.events li li:last-child {
    border-bottom: 0;
ul.events li li span.time {
    color: #999;
    font-style: italic;
    font-size: 90%;
    width: 60px;
    text-align: right;
    display: inline-block;
ul.events li li div.description {
    margin: 5px 0 0 63px;
    font-size: 86%;
    color: #555;
ul.events li li div.description p {
    margin: 0 0 1em 0;
ul.events li span.day {
    font-weight: bold;
    font-size: 250%;
    float: left;
    color: #0a86d2;
    text-align: right;
    width: 50px;
    margin: 0 0 0 1px;
    padding: 0 15px 0 0;
    line-height: 1;
    border-top: 1px solid #fff;
ul.events li:first-child span.day {
    border-top-color: #bed6ec;
ul.event-listing-nav {
    width: 200px;
    list-style: none;
    margin: 10px;
    padding: 0;
    clear: both;
ul.event-listing-nav li {
    width: 33.3%;
    list-style: none;
    margin: 0;
    padding: 0 0 10px 0;
    display: block;
    float: left;
    text-align: center;
ul.event-listing-nav li:first-child {
    text-align: left;
ul.event-listing-nav li:last-child {
    text-align: right;
ul.event-listing-nav:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
ul.custom-listing {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 200px;
ul.custom-listing li {
    padding: 0 0 1em 0;
    margin: 0 0 1em 0;
    border-bottom: 1px solid #ccc;
table.calendar td div.event {
    position: absolute;
    display: none; /* keeps the popup hidden if no JS available */
table.calendar td {
    position: relative;
</style>
<script src="http://code.jquery.com/jquery-1.8.2.min.js" type="text/javascript"></script>
    $(function () {
        $('table.calendar td').each(function () {
            // options
            var distance = 10;
            var time = 150;
            var hideDelay = 100;
            var hideDelayTimer = null;
            // tracker
            var beingShown = false;
            var shown = false;
            var trigger = $(this);
            var popup = $('div.event', this).css('opacity', 0);
            // set the mouseover and mouseout on both element
            $([trigger.get(0), popup.get(0)]).mouseover(function () {
                // stops the hide event if we move from the trigger to the popup element
                if (hideDelayTimer) clearTimeout(hideDelayTimer);
                // don't trigger the animation again if we're being shown, or already visible
                if (beingShown || shown) {
                    return;
                } else {
                    beingShown = true;
                    // reset position of popup box
                    popup.css({
                        'z-index': 1000,
                        top: 30,
                        left: 10,
                        display: 'block' // brings the popup back in to view
                        // (we're using chaining on the popup) now animate it's opacity and position
                            .animate({
                                top: '-=' + distance + 'px',
                                opacity: 1
                            }, time, 'swing', function() {
                                // once the animation is complete, set the tracker variables
                                beingShown = false;
                                shown = true;
            }).mouseout(function () {
                        // reset the timer if we get fired again - avoids double animations
                        if (hideDelayTimer) clearTimeout(hideDelayTimer);
                        // store the timer so that it can be cleared in the mouseover if required
                        hideDelayTimer = setTimeout(function () {
                            hideDelayTimer = null;
                            popup.animate({
                                top: '-=' + distance + 'px',
                                opacity: 0
                            }, time, 'swing', function () {
                                // once the animate is complete, set the tracker variables
                                shown = false;
                                // hide the popup entirely after the effect (opacity alone doesn't do the job)
                                popup.css('display', 'none');
                        }, hideDelay);
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-35744229-1']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
</script>
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) { type="text/javascript"
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div id="hours">
<strong>Open:<br />Tuesday-Sunday (二~日)<br /> 11:30am - 2:00am (3:00am 五 &amp; 六)</strong>
</div>
<div id="title_bar">
<img src="title_bar.jpg" alt=""/>
</div>
<div class='rollover' id="title">
<a href="index.php">
</a>
</div>
<div class='rollover' id='about'>
<a href="about.php">
</a>
</div>
<div class='rollover' id='gallery'>
<a href="gallery.php">
</a>
</div>
<div class='rollover' id='venue'>
<a href="venue.php">
</a>
</div>
<div class='rollover' id='shop'>
<a href="shop.php">
</a>
</div>
<div class='rollover' id='restaurant'>
<a href="restaurant.php">
</a>
</div>
<div class='rollover' id='bar'>
<a href="bar.php">
</a>
</div>
<div id="pop_up_background">
<img src="pop_up_2.png" alt=""/>
</div>
<div class="scroll">
<?php
$opts = array(
'filter'=>'eventDateTime',
'match'=>'eqbetween',
'category'=>array('gigs', 'Events'),
'sort'=>eventDateTime,
'sort-order'=> ASC,
'display'=>date,
'value'=>$_GET['id'],
'template'=>'events/listing/event-day.html',
perch_events_custom($opts);
?>
</div>
<div id="contact_bar">
<img src="contact_bar.png" alt=""/>
</div>
<div class='rollover' id='events'>
<a class='events-link' href="events.php">
</a>
    <div class='events-calendar'>
        <?php
             * setting options for the calendar. Change the categories listed to one or more which exist in your admin.
            $opts = array(
                'template'=>'calendar.html',
                'past-events'=>true,
                'category'=>array('gigs', 'Events')
            perch_events_calendar($opts);
        ?>
    </div>
</div>
<div class='rollover' id='contact'>
<a href="contact.php">
</a>
</div>
<div id="copyright_background">
<img src="copyright_bgrd.png" alt=""/>
</div>
<div id= "webdesign">
Webdesign
</div>
<div id= "copyright">
&#169; TAV Cafe
</div>
<div class='rollover' id='website_link'>
<a href="http://www.renflannery.com/" target="_blank">Visit W3Schools</a>
</div>
<div class='rollover' id='fb_icon'>
<a href="https://www.facebook.com/TAVCafe" target="_blank">Visit W3Schools</a>
</div>
<div class="fb-like" id="fb-root" data-href="http://www.tavcafe.com" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false" data-font="verdana"></div>
</body>
</html>

Similar Messages

  • ACE-4710 : XML Syntax Error du to a missing closing tag

    Hi,
    We use XML over HTTPS to gather connections information from a management station. We can successfully read the number of connections per real server (rserver), but the ACE returns a buggy XML code when we tray to get the number of connections through the VIP (by asking the service-policy). The problem is a missing closing tag in the returned code. The missing tag is </sp_class_map>.
    We have the latest ACE software version A3(2.2) installed. Note that the same request on a ACE Service Module does not presents this bug. I took a look in the bug toolkit but did not found the exact match.
    Does somebody already had this problem ? it is anoying as we cannot represent the number of connections for a specific vip in the NMS.
    I attach the returned XML code, in which I highligted the tad that does not have its closing counterpart.
    Thank you for any info before I open a TAC case
    Yves

    Thank you Gilles,
    It seams that this bug is only visible inernally : "Information contained within bug ID CSCsz52234 is only available to Cisco employees".
    I saved the bug to be informed on its status. Do you thing I should open a TAC case anyway ?
    Yves

  • Anchor tag error, also copy and pasting text comes up "null"

    After the recent update I am receiving anchor tag errors telling me to start with an alphabetic letter, which I was. Also no longer lets me copy and paste text onto a page, instead it says "null". Any ideas on a fix ?

    I don't see a closing </body> tag in your code.  There's an opening tag, but no closing tag, hence unbalanced.
    ^_^

  • XML closing tags missing throws exception with SAX Parser

    Hey,
    I'm trying to create an XML Document from some HTML.
    I am getting this exception:
    [Fatal Error] :1:334: The element type "input" must be terminated by the matching end-tag "</input>".
    Exception in thread "main" java.lang.RuntimeException: org.xml.sax.SAXParseException: The element type "input" must be terminated by the matching end-tag "</input>".
         at server.XMLUtils.createDocument(XMLUtils.java:76)The xml is like this:
    <html>
    <input name="s" size="5">
    </html>Is there some setting I can change in the parser to make it ignore missing closing tags?
    Here is my current code
         public static Document createDocument(InputStream is) {
              try {
                   Document doc;
                   DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
                   DocumentBuilder db = dbf.newDocumentBuilder();
                   doc = db.parse(is);
                   doc.getDocumentElement().normalize();
                   is.close();
                   return doc;
              } catch (Exception e) {
                   throw new RuntimeException(e);
         }Thanks

    Nether wrote:
    Hey,
    The xml is like this:
    <html>
    <input name="s" size="5">
    </html>
    That is not XML. It might qualify as HTML. An XML file would be
    <html>
    <input name="s" size="5"/>
    </html>Winston

  • Closed connection error when connection isn't being closed

    Hi,
    Currently I am trying to connect to an Oracle 11g database via JDBC. However, everytime I run the code I get the following error:
    java.sql.SQLException: Closed Connection
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:439)
    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:653)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:338)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    The error comes from running the below code.
    public static Connection connect(String url, String username, String password) {
    Connection conn = null;
    //String url = "";
    // Load the driver
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    } catch (ClassNotFoundException cnfe) {
    System.err.println("Oracle driver class cannot be found");
    cnfe.printStackTrace();
    System.exit(1);
    // Get the connection
    try{
    conn = DriverManager.getConnection(url, username, password); *// This is the offending line*
    } catch (SQLException sqle) {
    System.err.println("Problem connecting, possibly incorrect " +
    "username/password or problem communicating with the database");
    sqle.printStackTrace();
    System.exit(1);
    }java.sql.SQLException: Closed Connection
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:439)
    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:653)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:338)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    // Turn auto commit off
    try{
    conn.setAutoCommit(false);
    } catch (SQLException sqle) {
    System.err.println("java.sql.SQLException: Closed Connection // This is the offending line
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:439)
    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:653)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:338)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)Problem turning off auto commit");
    sqle.printStackTrace();
    System.exit(1);
    return conn;
    but the connection is never closed, this is the first time connect is called so it is never opened either.
    // This is the offending line
    The URL I am using to connect is:
    jdbc:oracle:oci8:@mydatabase:1158
    The database is stored on a server. I have previously tested the code on a machine with the database stored locally and had no problems. However, ran into this problem now when the database is external. Incase this information helps the software is being run under Linux via Netbeans. The previous testing was performed using Netbeans under Windows.
    Any help would be much appreciated.
    Thanks,
    Martin

    Hi i am using the following code and i am getting the same error ....
    public class DBConnection {
         private static Connection con=null;
         public DBConnection() {
                   System.out.println("In db Connection..");
         public static Connection getConnectionObj(){
              if(con==null){
                   con= new DBConnection().getConnection();
                   System.out.println("In db Connection.. if");
                   return con;
              else{
                   System.out.println("In db Connection..else");
                   return con;
         private Connection getConnection(){
              Properties prop=new Properties();
              FileWriter fw=null;
              FileInputStream fis=null;
              try{
                           File file=new File("Connection.properties");
                   fis=new FileInputStream(file);
                   prop.load(fis);
                   System.out.println(prop.getProperty("DriverName"));
                   System.out.println(prop.getProperty("URL"));
                   Class.forName(prop.getProperty("DriverName"));
                   System.out.println(prop.getProperty("DriverName"));
                   System.out.println(prop.getProperty("URL"));
                   con=DriverManager.getConnection(prop.getProperty("URL"),prop.getProperty("UserName"),prop.getProperty("Password"));
                   fis.close();
              }catch(Exception e){
                   e.printStackTrace();
                   if(fw!=null){
                        try {
                             fw.close();
                        } catch (IOException e1) {
                             // TODO Auto-generated catch block
                             e1.printStackTrace();
                   if(fis!=null){
                        try {
                             fis.close();
                        } catch (IOException e1) {
                             // TODO Auto-generated catch block
                             e1.printStackTrace();
              return con;
    }I am not using the connection pool.
    For the first request it is working fine but later request's it is giving the closed connection error.
    Thanks in advance.
    Edited by: EJP on 10/10/2011 20:28: added {noformat}{noformat} tags: please use them                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Matching opening and closing tags in MXML

    Is possible to match the opening and closing tag in MXML with Flash Builder 4.x?
    In AS3 you can see the curly braces highlighted and you can type Ctrl+Shift+P to jump from one bracket to the other.
    In DreamWeaver you can see the hierarchy for every HTML element, and you  can click any HTML element to highlight the block inside.
    I can see only icons with - and + for contract or expand the MXML blocks, but they are working wrong !

    If you click the element in Outline view, it should highlight the entire tag for you.  Is it not doing this in FB 4?

  • Bug Report : Upgraded to Firefox v10. Holding CTRL+ [F4] too long after all tabs are closed causes error. "Exc in ev handl: TypeError: this.oPlg.onTabClosed is not a function"

    Bug Report :
    Upgraded to Firefox v10. Holding CTRL+ [F4] too long after all tabs are closed causes error.
    "Exc in ev handl: TypeError: this.oPlg.onTabClosed is not a function"

    What extensions do you have? (Go to Firefox > Customize > Add-ons to see or Help > Troubleshooting info for a copy-pasteable list)

  • Using time warner road runner. when I try to open up safari to home page I get error message that this version does not support the "community toolbar" can't proceed until closing the error message. sick of seeing it

    using time warner road runner. when I try to open up safari to home page I get error message that this version does not support the "community toolbar" can't proceed until closing the error message. sick of seeing it

    That toolbar/ct plugin seems to cause problems for all who install it!
    Close Safari, then locate and delete the following files and it should be gone:
    /Library/Application Support/Conduit
    /Library/InputManagers/CTLoader
    /Library/Receipts/ctloader.pkg
    /Library/Receipts/<Toolbar name>.pkg
    /Library/Application Support/SIMBL/Plugins/CT2285220.bundle
    /Users/<User name>/Library/Application Support/Conduit
    where / is the root library on your Hard Disk.
    If you are running Snow Leopard you should also look here:
    Library/launchAgents/com.conduit.loader.agent.plist
    Library/Application support/conduit plugins
    Also, as mentioned by Gilli2000:
    Library/Receipts - If you read it, it has information in it at the bottom referring extensively to "CT" and "community toolbar".
    Maybe it is harmless, but trash those items anyway!
    Note: Safari does not support any third-party toolbars except those supplied as an extension to Safari via the Extension Gallery.

  • How to do closing tag: tag /tag instead of tag/ in jdev xslt mapper

    Hi!
    We have commercial systems, which cannot work with short closing tags for empty nodes.
    Xslt mapper for oracle mediator optimize everytime to short closing tag, when node content is empty.
    Is there a property or technique to achieve long closing tags?
    Kind regards
    Torsten

    http://www.biglist.com/lists/xsl-list/archives/200610/msg00342.html
    not really a pretty solution, but you could try adding the comments

  • Avoid explicit closing tag in XML using graphical mapping

    Hi,
    I created a data type with an element called TAG1 which has an attribute called attr.
    I mapped an empty constant to the element and the value XXX to the attribute.  I`m using graphical mapping and the XML I get is the following:
    <TAG1 attr = u201CXXXu201D></TAG1>
    But for reasons of volume I need to generate the XML without the explicit closing tag, such as:
    <TAG1 value = u201CXXXu201D/>
    Is there any possibility to achieve this with graphical mapping?
    Thanks & Best Regards,
    Viviana

    > But for reasons of volume I need to generate the XML without the explicit closing tag, such as:
    >
    >  <TAG1 value = u201CXXXu201D/>
    >
    > Is there any possibility to achieve this with graphical mapping?
    This is not posible. The graphical mapping always creates start and end tag, even for empty elements.
    You need a seperate mapping step with XSLT or Java mapping.
    Regards
    Stefan

  • How to make an explicit closing tag in XML(e4x).

    I'm working with some XML data and I'm having trouble forcing the way my closing tags are generated.
    I want the long hand form, such as:
    var xmlData:XML =
    <code>
       <codeSnippet>
       </codeSnppet>
    </code>;
    But when I try to insert nodes within the codeSnippet node as child nodes(<snippet />, etc.), and then write to a file, it
    makes the codeSnippet node look like <codeSnippet /> and the <snippet /> nodes are after, which will not work.
    How can I make it NOT treat an empty node as  <codeSnippet /> and explicitly keep it as in long hand form, such as:
    <codeSnippet>
    </codeSnppet>
    Thanks...
    fd

    I figured it out for myself.
    So, does that mean I get the 10 points?
    fd

  • Closing tag in xml transformation

    Hi experts,
    I have the following ABAP code:
    ABAP itab to XML string
      CALL TRANSFORMATION id SOURCE data = ti_stocks[]
                             RESULT XML    ps_output.
    The result in ps_output should be an xml like this
    <?xml version="1.0" encoding="utf-16" ?>
    <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    <asx:values>
    <DATA>
    <ZTABLE_STO>
      <FIELD1 /> ABC</FIELD1>
      <FIELD2 />0300</FIELD2>
      <FIELD3 />1</FIELD3>
      </ZTABLE_STO>
    etc.
    However, if my internal table ti_stocks contains the field1 with an empty value then the xml is incorrect without its corresponding closing tag:
    <?xml version="1.0" encoding="utf-16" ?>
    <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    <asx:values>
    <DATA>
    <ZTABLE_STO>
      <FIELD1 />
      <FIELD2 />0300</FIELD2>
      <FIELD3 />1</FIELD3>
      </ZTABLE_STO>
    etc.
    How can I resolve this problem? I would like to have an open tag and a closing tag for every field.
    FIELD1 is a char type field.
    Thank you,
    Oscar
    Edited by: Oscar Arranz on Jan 26, 2012 2:46 PM

    Hello everyone, sorry for my english, I had the same requeriment for the end tag, the simple transformation give this result <xxx/> when the value was empty, and I did something similar to Oscar,
    i did the simple transformation and the result whas and xstring, i used a function to pass it to string, and then I make a replacement.
    here is some code:
    *  Genera XML
       data: xml_xstring          type xstring.
       data: w_xml                 type string.
       data: ixml                    type ref to if_ixml,
               streamfactory      type ref to if_ixml_stream_factory,
               encoding             type ref to if_ixml_encoding,
               ixml_ostream      type ref to if_ixml_ostream.
       data: resstream           type ref to if_ixml_ostream.
    ****Create an instance of the Ixml Processor
       ixml = cl_ixml=>create( ).
    *  ****Create the Stream Factory
       streamfactory = ixml->create_stream_factory( ).
    *  ****Create an Endcoding and Byte Order
       encoding = ixml->create_encoding( character_set = 'ISO-8859-1' byte_order = 0 ).
    *  *  ****Create the output stream with a pointer to our binary string
       ixml_ostream = streamfactory->create_ostream_xstring( xml_xstring ).
    *  ****Set the Encoding into a stream
       ixml_ostream->set_encoding( encoding = encoding ).
    ****Call simple Transformation
       call transformation zdte_libros
       source zcaratula = x_doc
       result xml ixml_ostream.
    *From xstring to string.
       call function 'HR_RU_CONVERT_HEX_TO_STRING'
              exporting
                     xstring = xml_xstring
              importing
                     cstring = w_xml.
    * <xxx/> to <xxx><xxx/>
       replace all occurrences of regex '<([^><\s]+)( [^><]+)?/>' in w_xml with '<$1$2></$1>'.
    Hope it helps someone with the same problem .

  • End tag error in Office 2010 professional plus

    I have my research paper got corrupted some how. When I try to open it, I get the following error:
    "The name in the end tag of the element must match the element type in the start tag.
    Location: Part: /word/document.xml, Line 2, Column: 5119889"
    I am using Office 2010 Professional Plus. 
    I tried to install office service pack 1, but I get this error: "The expected version of the product is not found on the system"
    I need to restore this document as the deadline of paper submission is approach fast. I would really appreciate any kind of help.

    Seems that you've received an "end tag" error when you open a DOCX file in Word 2010. After installing Office 2010 SP1 as
    KB2528942 suggested but get the error "The expected version of the product is not found on the system".
    Office 2013 and Office 2010 Service Pack 1 resolves this issue for new files. It will also prevent the problem from recurring with any files that were recovered with the Fix it solution in this
    article. 
    Have you tried to install the hotfix in
    KB2528942 "fix for me" section?
    If you are familiar with editing XML, you can try to fix the problem yourself by correcting the mismatched oMath tags in the document. See the following example:
    Incorrect tags:
    <mc:AlternateContent>
    <mc:Choice Requires=”wps”>
    <m:oMath>
    </mc:AlternateContent>
    </m:oMath>
    Correct tags:
    <m:oMath>
    <mc:AlternateContent>
     <mc:Choice Requires=”wps”>
    </mc:AlternateContent>
    </m:oMath>
    Note: unzip the source file by unzip tool and you will also have to use an application such as Notepad to edit the XML.
    Feel free to post back.
    Tony Chen
    TechNet Community Support

  • Setting node value of self closed tags

    Hi all, I was just wondering if anyone knew the answer to this problem, I'm new to this level of java programming and I've been reading documentation till my eyes have started bleeding. When I use the setNodeValue() function on an element, it works fine UNLESS the node is self closed, in which case i cannot access it as it comes up as null. If anyone can give a sample code, or point me in the right direction I'd appreciate it

    by "it" i mean the node itself, and by "comes up as", i mean that the value of the node (and data type apparently) is null. Here is the code snippet that i currently have;
    NodeList nodeLst = doc.getElementsByTagName(repeatedNode);
    for (int s = 0; s < nodeLst.getLength(); s++) {
         Node fstNode = nodeLst.item(s);
         if (fstNode.getNodeType() == Node.ELEMENT_NODE) {
              Element fstElmnt = (Element) fstNode;
              NodeList fstNmElmntLst = fstElmnt.getElementsByTagName("status");
              Element fstNmElmnt = (Element) fstNmElmntLst.item(0);
              Node test = (Node) fstNmElmntLst.item(0);
              if (fstNmElmnt != null){
                   NodeList fstNm = fstNmElmnt.getChildNodes();
                   if ( ((Node) fstNm.item(0)) != null ){
                        ((Node) fstNm.item(0)).setNodeValue("testing setvalue");
    }Notice the checks against null that I have in the code, those are to check against the self closed tages (eg <node />). I realize that there is nothing wrong with xmnl being formatted in this way, I just need to find a way to set values in those nodes. From reading the documentation on setNodeValue() ( [http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html#setNodeValue(java.lang.String)|http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html#setNodeValue(java.lang.String)] ), the function cannot be used on a node that is of type null. What I'm trying to figure out is what to use instead yo be able to set the values of those "null" nodes.
    Edited by: Billy1234 on Jul 3, 2008 6:01 AM

  • Create XML element without closing tag using Visual C++

    I know how to create xml element with closing tag (using WriteStartElement and WriteEndElement methods)
    <tag id="1234">
    </tag>
    but is there a way in Visual C++ to produce xml element like this
    <tag id="1234"/>
    i.e. without closing tag?

    Hi adamay,
    Please refer to this thread.
    http://stackoverflow.com/questions/8182245/create-xml-element-without-closing-tag-using-xslt
    I think you could try the way of write your own class derived from XmlWriter.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Hierarchies - Showing not posted values.

    Hi, I've a query, I'm using InfoObject 0GL_ACCOUNT and a hierarchy for displaying it. For some accounts, no values have been ever posted, but I wan't this accounts tho show when you expand the hierarchy. Now when you expand the hierarchy only the acc

  • CDPOS table is oversized

    Hi experts, I don't know too much about table CDPOS. Could you tell me something in detail about this SAP table? I had performance problem according to cdpos table. It has a size category 3, which means that it is planned for 50.000 records. Now it h

  • Duplcate Email in Outlook 2003

    Hello I have a client who has a brand new Blackberry 8330. Everything has been good until now. He is now receiving duplicate emails in Outlook 2003. My question is whether or not this could have something to do with the sychronization between the 833

  • Why won't GB open anymore after the 10.7.4 update?

    I recenty updated the software to 10.7.4 & now GarageBand won't open. I try to open a project with it but it gives me an error message saying something about MIDI...I have no idea what to do and i'm guessing it really is because of the update. If any

  • AdvancedDataGrid with HTTPService

    Hi All, I have problem with AdvancedDataGrid by using HTTPService.Actually i don't know how to get the data from xml file and display in AdvancedDataGrid but i know how to get the data from xml file and display in DataGrid. Here XML file structure is