[AC-800] Some specific html maker an ti compile error in 3.2.x.GA not 3.1.3.GA
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-03-24T02:14:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | compile, html, xml |
Reporter | Jong Eun Lee |
Assignee | Ritu Agrawal |
Created | 2014-03-18T01:59:50.000+0000 |
Updated | 2016-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
File | Date | Size |
---|---|---|
two-way-drawers.html | 2014-03-18T01:59:50.000+0000 | 987 |
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.
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.