Error /* Within Comment
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Magento Error: Warning: simplexml_load_string() Start tag expected, '<' not found in Config.php on line 511 up vote 0 down vote favorite 1 I have been trying to solve this error message for days now. Have Added a debugging code and the xml in question is Quick View Settings 50 Please can someone guide me on how to identify whats wrong with this code because the xml seems valid to me. Thanks This is all i could see in the var log folder 2014-09-01T14:21:12+00:00 ERR (3): Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 26: parser error : Start tag expected, '<' not found in /home/public_html/lib/Varien/Simplexml/Config.php on line 511 2014-09-01T14:21:12+00:00 ERR (3): Warning: simplexml_load_string() [function.simplexml-load-string]: --> in /home/public_html/lib/Varien/Simplexml/Config.php on line 511 2014-09-01T14:21:12+00:00 ERR (3): Warning: simplexml_load_string() [function.simplexml-load
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 http://stackoverflow.com/questions/25604284/magento-error-warning-simplexml-load-string-start-tag-expected-lt-not-f million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Comments in layout XML not working up vote 7 down vote favorite 1 yes, I looked it up! seems to be the right choice, but I get an error in android-studio Gradle: Error parsing XML: http://stackoverflow.com/questions/19743816/comments-in-layout-xml-not-working not well-formed (invalid token) when I do this android:id="@+id/imageButton" android:layout_alignParentTop="true" android:src="@drawable/gfx_select_medium" android:layout_marginRight="22dp"/> any help is appreciated, thx! android share|improve this question asked Nov 2 '13 at 15:59 Michael D. 595716 move it outside the ImageButton and try –Raghunandan Nov 2 '13 at 16:01 Please post the entire XML, maybe the error is in your code rather than the comment. –NitroNbg Nov 2 '13 at 16:01 @NitroNbg trust me. You can not put a comment inside a tag xml –Blackbelt Nov 2 '13 at 16:07 add a comment| 3 Answers 3 active oldest votes up vote 7 down vote accepted XML comments cannot be placed inside tag markup. Move the comment for example above or below your ImageButton tag. Here's the spec reference, with emphasis added: Comments may appear anywhere in a document outside other markup Where markup is defined as: Markup takes the form of start-tags, end-tags, empty-element tags, entity referen
Sign in Pricing Blog Support Search GitHub This repository Watch 1,163 Star 18,267 Fork 2,505 Microsoft/vscode Code Issues 2,697 Pull requests 44 Projects 1 Wiki Pulse Graphs New issue JSDoc Comment seen as https://github.com/Microsoft/vscode/issues/1590 code error in JavaScript #1590 Closed khrome83 opened this Issue Dec 22, 2015 · https://www.khronos.org/bugzilla/show_bug.cgi?id=552 13 comments Projects None yet Labels bug js Milestone Backlog Assignees jrieken 4 participants khrome83 commented Dec 22, 2015 The JSDoc comment * @param {Array} [plugins=['defaults']] - plugins to enables shows a red underline below the < before string. When clicking on the error/warning notice, it says '}' expected. It is error /* expected that code within a comment does not give error/warning notices for JavaScript Using version 0.10.5 on Windows 10. bpasero added the bug label Dec 23, 2015 bpasero added this to the Backlog milestone Dec 23, 2015 jrieken was assigned by bpasero Dec 23, 2015 Microsoft member bpasero commented Dec 23, 2015 @khrome83 I cannot reproduce if I only use that comment, can you attach the full file? Microsoft error /* within member jrieken commented Dec 23, 2015 @khrome83 Is this in a JS or TS file? khrome83 commented Dec 23, 2015 @jrieken this is a JS file. khrome83 commented Dec 23, 2015 @bpasero this is happening in a different file as well, but it is varied about "when" it happens. In the below code, only * @returns {ATSNode} text node causes it. // Node Creation /** * @private * @param {string} value - string to be inserted as text * * @returns {ATSNode} text node */ var createTextNode = function (value) { return { node: '#text', value: value, parent: null }; }; /** * Creates a document node. * * @function createDocument * @memberof TreeAdapter * * @returns {ASTNode} document */ treeAdapter.createDocument = function() { return { node: '#document', quirksMode: false, children: [] }; }; khrome83 commented Dec 23, 2015 Here is a screenshot of the issue, showing the red underline. sample.txt This is the JS file from the screenshot example. I renamed it to text to upload it. jrieken added the js label Dec 23, 2015 Microsoft member jrieken commented Dec 23, 2015 Good catch. The JS parser tries to resolve some JSDoc constructs but doesn't seem to understand generics felixfbecker commented Dec 28, 2015 @