Titanium JIRA Archive
Appcelerator Community (AC)

[AC-800] Some specific html maker an ti compile error in 3.2.x.GA not 3.1.3.GA

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2014-03-24T02:14:25.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelscompile, html, xml
ReporterJong Eun Lee
AssigneeRitu Agrawal
Created2014-03-18T01:59:50.000+0000
Updated2016-03-08T07:37:04.000+0000

Description

If you add attached html file to project, you got an error blew and can't complete compiling on android and ios.
/Users/yomybaby/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/xmldom/sax.js:102
			var localNSMap = config.localNSMap;
			                       ^
TypeError: Cannot read property 'localNSMap' of undefined
    at parse (/Users/yomybaby/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/xmldom/sax.js:102:27)
    at XMLReader.parse (/Users/yomybaby/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/xmldom/sax.js:30:3)
    at DOMParser.parseFromString (/Users/yomybaby/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/xmldom/dom-parser.js:25:7)
    at Object.analyzeHtml (/Users/yomybaby/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/jsanalyze.js:159:58)
    at Object.analyzeHtmlFile (/Users/yomybaby/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/jsanalyze.js:146:17)
    at /Users/yomybaby/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/iphone/cli/commands/_build.js:2726:17
    at async.whilst (/Users/yomybaby/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:619:13)
    at /Users/yomybaby/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:623:23
    at /Users/yomybaby/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/iphone/cli/commands/_build.js:2693:13
    at async.whilst (/Users/yomybaby/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:619:13)

In studio, you can't get detail error. User ti command line interface.:) If you change sdk version to 3.1.3GA, it work properly. Please check this bug.

Attachments

FileDateSize
two-way-drawers.html2014-03-18T01:59:50.000+0000987

Comments

  1. Ritu Agrawal 2014-03-18

    Most likely you get this error if you have some problem with the markup language in the file. I tried to open your two-way-draweres.html file but it refers to a number of other files that were not attached. Please provide a simple runnable test case to reproduce this error.
  2. Ritu Agrawal 2014-03-24

    Resolving this ticket as we have not received requested information. We would be happy to reopen this ticket when the requested information has been provided.

JSON Source