XML - bad closing tag editing

I edit a XML file, which is pretty simple. DW close automatically the end tag by typing < / , but today, I have the problem, that the closing tag is not correct (see picture):

DW explicitly closes the < menu > tag instead of the intermediate beacons. In doing so, he stressed again that bad... the menu- tag.

I want to add that yesterday it worked fine!

DW 2015.3 - Windows 7

I disabled the AutoComplete feature in DW, long, long. It seems to get confused quite often.

Instead, I use code hinting that will give you a list of options when you type

In Edition > Preferences > indicators of Code, I put 'close tags' option to "Never" and then check the box 'enable code hints '.

It is an additional combination of keys, but it offers more flexibility when DW merges by open tags or code errors.

Tags: Dreamweaver

Similar Questions

  • self-closing tags in different versions of database.

    Hello.

    I have problems with tags of closing across different databases. The script used to test is

    declare
    --
    -data
    --
    V_XML_DATA xmltype: = XMLTYPE ("<?") XML version = "1.0"? >
    rowset <>
    < ROW >
    < PART_NUMBER > HI8005 < / PART_NUMBER >
    < / ROW >
    < ROW >
    < PART_NUMBER > RV8015 < / PART_NUMBER >
    < / ROW >
    (< / LINES > ');
    --
    -Stylesheet
    --
    V_xsl xmltype: = xmltype ("<?") XML version = "1.0"? >
    < xsl: stylesheet xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" xmlns:rs = "" urn: schemas-microsoft-com: rowset "xmlns:z ="#RowsetSchema"version ="1.0">"
    < xsl: output method = "xml" encoding = "windows-1251" Indent = "Yes" omit-xml-declaration = "yes" / >
    < xsl: template match = "/" >
    < xmlns:rs rs: data = "urn: schemas-microsoft-com: rowset" >
    < xsl: for-each select = "game of LINES/ROW" >
    < z: line xmlns:z = "#RowsetSchema" id = "811" >
    < xsl: attribute name = "Part_Number" >
    < xsl: value-of select = "PART_NUMBER" / >
    < / xsl: attribute >
    < / z: row >
    < / xsl: foreach >
    < / rs: data >
    < / xsl: template >
    < / xsl: stylesheet >
    ');
    --
    --
    --
    Start
    --
    -Transform
    --
    SELECT XMLTRANSFORM (V_XML_DATA, V_XSL)
    IN V_XML_DATA
    FROM DUAL;
    --
    -Output
    --
    DBMS_OUTPUT. Put_line (dbms_lob.substr (V_XML_DATA. GETCLOBVAL(), 255, 1));
    end;


    This running on Oracle Database 10g Release 10.1.0.5.0.
    I get this result - with self closing tags.

    < xmlns:rs rs: data = "urn: schemas-microsoft-com: rowset" >
    < z: row identifier = "811" xmlns:z = "#RowsetSchema" Part_Number = "HI8005" / >
    < z: row identifier = "811" xmlns:z = "#RowsetSchema" Part_Number = "RV8015" / >
    < / rs: data >


    run this on the Oracle 11 g Release 11.2.0.1.0 database.
    I get this result - with specific closing tags

    < xmlns:rs rs: data = "" urn: schemas-microsoft-com: rowset "xmlns:z ="#RowsetSchema">"
    < z: row identifier = "811" Part_Number = "HI8005" >
    < / z: row >
    < z: row identifier = "811" Part_Number = "RV8015" >
    < / z: row >
    < / rs: data >


    I know this is not well-formed in gR 10, 1 but I need to replicate that in 11 GR 2.
    Anyone know if this is possible, whether by changed the XSL, database installation settings (or other)? Pointers or suggestions welcome.

    Thanks for any help.
    Tony.

    Ah, now it's a different matter. We don't see the extra space in there. In the future, use the tag {code} (without the space) to encapsulate any text you want to put in shape to be kept, as I did below. I opened a bug with Oracle that space should not be presented as that changes the meaning. Here is a possible workaround as well

    Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 
    
    SQL>
    SQL> declare
      2  --
      3  -- data
      4  --
      5     V_XML_DATA xmltype := XMLTYPE('
      6  
      7  
      8  HI8005
      9  
     10  
     11  RV8015
     12  
     13  ');
     14  --
     15  -- Style sheet
     16  --
     17     V_xsl xmltype := xmltype('
     18  
     19  
     20  
     21  
     22  
     23  
     24  
     25  
     26  
     27  
     28  
     29  
     30  
     31  
     32  ');
     33  V_NEW_XML_DATA xmltype;
     34  --
     35  --
     36  --
     37  begin
     38  --
     39  -- Transform
     40  --
     41     SELECT XMLTRANSFORM(V_XML_DATA,V_XSL)
     42     INTO V_NEW_XML_DATA
     43     FROM DUAL;
     44  --
     45  -- Output
     46  --
     47     DBMS_OUTPUT.PUT_LINE('Via SQL XMLTRANSFORM');
     48     DBMS_OUTPUT.PUT_LINE(V_NEW_XML_DATA.GETCLOBVAL());
     49
     50     DBMS_OUTPUT.NEW_LINE;
     51     DBMS_OUTPUT.PUT_LINE('Via PL/SQL TRANSFORM');
     52     v_new_xml_data := v_xml_data.transform(v_xsl);
     53     DBMS_OUTPUT.PUT_LINE(V_NEW_XML_DATA.GETCLOBVAL());
     54
     55  end;
     56  /
    
    Via SQL XMLTRANSFORM
    
    
     
     
     
     
    
    
    Via PL/SQL TRANSFORM
    
      
      
    
    

    As you can see, 11.1.0.6 produces a slightly different result than 11.2.0.1. I don't know why the SQL XMLTransform approach puts a new line at the beginning of the XML output so feel free to appear too. I hope that the PL/SQL method generates what you need in your version.

  • Unable to parse the file config.xml - bad xml structure

    I'm doing a simple application for blackberry phones.  I used the code on the site of dev on creating your first application.


    http://www.w3.org/ns/widgets ".
    "xmlns:RIM ="http://www.blackberry.com/ns/widgets"
    version = "1.0.0.0" >
      DevBlog
      BlackBerry Developer Blog
     
    email = '[email protected]' > John Doe
     
      http://devBlog.BlackBerry.com"/ >
     

    I edited it for the site we want to and other details as follows:


    http://www.w3.org/ns/widgets ".
    "xmlns:RIM ="http://www.blackberry.com/ns/widgets"
    version = "1.0.0.0" >
     
     DeVryUniversity 
     DeVry University Library 
     
    email ="[email protected]" > Danny coats "
      
     http://library.DeVry.edu/cgi-bin/Pwebrecon.cgi?DB=local&page=first"/ >
     

    It gives me the following error when I compile it:

    C:\Program Research In Motion\BlackBerry WebWorks Packager > bbwp "C:\Users\".
    Danny Coats\workspace\applications\DeVryLibrary\DeVryLibrary.zip.
    [INFO]                  Parsing of the command line options
    [INFO]                  Bbwp.properties analysis
    [INFO]                  Validation of archive application
    [INFO]                  The analysis of config.xml
    [ERROR]                 Impossible to analyze the file config.xml - bad structure XML

    I use Windows 7 Professional and the latest version of the SDK of Blackberry WebWorks.  I find nothing in the community for this to solve.

    Any suggestions will be greatly appreciated.

    I had the same error when you try your config.
    So, I try to analyse.
    I found the error is in the value of the content item, you must:

    http://library.DeVry.edu/cgi-bin/Pwebrecon.cgi?DB=local&page=first

    and should be:

    http://library.DeVry.edu/cgi-bin/Pwebrecon.cgi?DB=local & page = First

    If the special characters in the URL must be converted to their html entities.

  • By selecting in the Insert Panel does not add the closing tag

    Hello

    I wish to emphasize the part of the text in the Document window and select an item in the Insert panel to frame part.

    However, when I select the section or paragraph, it only adds the opening, such as < h > and < p > without his counterpart of the fence.

    It of just a bug or am I skip a step? Please tell me how the closing tag can be implemented by using the Insert panel.

    Thank you in advance,

    EAD

    I can't my pCOC CARD on W7 2015 to do what you describe.

    What version of the program and which OS are you running?

    Your code is error free? Try to run the validator at http://validator.w3.org/nu for a list. Many features of DW depend on clean and valid code working properly, it is possible that a small mistake may be confusing program.

  • How can I stop Dreamweaver remove my closing tags?

    I've recently moved to Dreamweaver CC.

    When I open my files .cfml, Dreamweaver removes some of the closing tags that were there.

    So far, he has deleted several < / cfif > and < /table > tags. The only thing I see is that the start tag was a bit out of proportion with the closing tag.

    What happens and how can I get him to stop?

    I do not design features. I have just the code. However, there are a number of features outside the CF support making it a useful tool.

    Maybe you're just right. If there is no way to have it NOT to rewrite my code, I guess it would be better to move to a non Adobe product.

  • Highlight of the self-closing tags

    Recently, I upgraded my Mac and reinstalled then Adobe. Since working with Dreamweaver on my new maching I realized that the code view is no longer auto highlights tags (for example, divs, lists, etc.). On my old configuration, I just clicked on a tag and it would automatically identify/highlight the closing tag.

    I am aware of the process of highlighting tags parent etc. manually. But to get to auto? It doesn't seem to be any specific option for this in the "Highlight" preferences either?

    Any suggestions people?

    Thanks in advance!

    I don't remember DW never cela.  Mine doesn't work.   Maybe you had installed a 3rd party extension that provided this feature?

    Nancy O.

  • Closing tags

    Anyone know if there is a way to configure the closing tags automated for inside a php script?

    I know when your code in html and you type ' < / ' it automatically closes the last open tag, but when I type that, inside a PHP script, it doesn't do it automatically.

    Anyone? (I'm using CS3)

    Hi, ago no auto tags, if you use a tag, you must close it.

    T

  • help find closing tags

    Thanks to anyone who can help!
    I've had CS3 on a new Mac now for three months. He had well filled right now I hit closing tags < / I watched 'Préférences' and there is no appropriate settings to fill in the tags, but it's not to do.

    In addition, it is no longer gives me the drop html tags as possible when I type the. I have to type all.

    I tried window > presentation of the workspace > good by default, but is not. Can anyone help?

    Thanks Ken. Problem solved with a complete shutdown and restart of my imac. I had to do a force quit of CS3, but now that I restarted, all right. I should have tried that first, I guess.

  • do not understand the tag edition - someone explain please

    I have been advised to get the titles in order by editing tags, but cannot understand what it means.  I installed MP3Tag and navigated to the folder with my podcasts in it, then clicked on 'Select folder'.  The 'tag' says the same thing for the whole column, and I do nothing make changes except 'remove tag '.  I can't understand the instructions - they assume that I know already a little on the tags.  What should I do so that the files in this folder will be displayed in alphabetical/numerical order on my Clip instead randomly?

    If you ever have a newbie with this problem, tell him to check properties\details\ #.  I never assign numbers track to my podcasts, and various had 0 or 1, give me a random order when I copied them on my Clip.  I feel stupid, but it's good to have learned this.  Thanks for mentioning the order of songs.

  • Find the bad characters and edit them in the document all the

    Hello

    I have such a problem. I imported maps in Illustrator, but some characters were not imported.

    My question is: is this a good way to find them all in any document and transform the appropriate characters?

    Or maybe you know why import went wrong? These bad policies should be Spanish / Catalan.

    PEAK. 1-bad character,

    PEAK. 2 - character set,1.jpg

    2.jpg

    Use the Menu > edit > find and replace. If you copy the bad character and spent in the search for field, and then type the correct character to replace in the field, and then click search, then replace and find. It works like in most word processors. To speed up the process.

  • How to get self-closing tags

    Hello Adobe community...

    Would appreciate a quick hand.

    When encoding in Adobe Dw, tags usually close after said opening tag and proceed then to ' < / ' keys. Suddenly he stopped. Now I know about the preferences panel: close the tags > after you type > 'radio button options. I have reset the option: after you type > ' < / ' and apply to hit - but this has not fixed the problem.

    One thing I noticed that could cause this problem is that whenever I type in Code view, I noticed that Dw highlights everything above in the coding online I'm... I have no idea how to get rid of this setting and I have the feeling that this is what causes the tags not self-closing.

    Would really appreciate it stuff... its been my head in!

    See you soon,.

    Josh

    It is likely that there is not a valid code on the page.  Can you try to run your page through the validator and see what shows up?  The W3C Markup Validation Service

  • Remove the span class and the closing tag

    W7, CS6

    I have several instances of an extended class, I want to delete including the closing span tag. For example, < span class = "yy" > text </span >. What is the best way to do it?

    Paul

    You can use the find & replace tool to find and remove something from the source of the whole local site if you wish...

    1 control + F

    2. search in: entire current Local Site

    3. research: specific tag

    4. scope of specific tag text: span

    5. with the attribute: class

    6: = (small text field beside the = sign): yy

    7. action: Remove tag & content

    8. click on replace all

  • Dreamweaver crashes when a closing tag

    I have a very annoying problem with Dreamweaver CC on my Mac.

    When I close a < ul > < li > tag, or dreamweaver crashes every time. Also after reboot...
    Very very boring...

    I do not understand Adobe!

    With all the new features for Visual editing (I don't think that a respected Web Designer uses these tools even when!), you really forget the basics of Web design (CODING)

    Try to clear the cache of the program and see if that is not correct...

    http://forums.Adobe.com/thread/494811

    A corrupt cache file can cause all sorts of bizarre behavior, I never heard of this one in particular, but it might do the trick.

  • DW CS4 not to enter any closing tags correctly when no doctype declared

    Hello

    I often write code in PHP that will be included, for this reason, I do not use the HTML, BODY, DOCTYPE tags on the include file (usually a form) that I'm working on.

    If I add input fields, they are closed with a ' > ' instead of a ' / > '

    Is it possible to fix this behavior?

    Thank you

    When you create a new page in DW select XHTML 1.0 Transitional... then get rid of the extra code that you do not want before typing in your code to include.

  • Rename the XML via Javascript tags

    Currently, I have a script that detects some paragraph styles and renames them. For example:

    var myDoc = app.activeDocument;

    var myStyle = myDoc.paragraphStyles.itemByName ("bar SIDE B HEAD");
    myStyle.name = "SIDEBAR HEAD of NOTE"

    I would like to do the same thing with some names of XML tags, preferably as part of the same script. I'm sure it's pretty easy, but for some reason, I can't find any info on how to tell the XML tags!

    I looked in the tutorial Scripting InDesign CS4 and Adobe Introduction to scripting, but at this point, I feel I'm wasting my time on a simple problem. Anyone can help out by an amateur?

    Thanks in advance,

    Matt

    Yes you are right Matt, it is very easy.

    var myDoc = app.activeDocument;
    var myTag = myDoc.xmlTags.itemByName("Old");
    myTag.name = "New";
    

    Shonky

Maybe you are looking for