Sample Sample不是NCName的有效值(Sample Sample is not a valid value for NCName)

编程入门 行业动态 更新时间:2024-10-28 16:21:48
Sample Sample不是NCName的有效值(Sample Sample is not a valid value for NCName)

我的appname()是“Sample Sample”,它在Ti-SDK 2.1.3之前工作正常,在我更新到Ti SDK 3.0.0和MVC合金之后,它显示“Sample Sample不是NCName的有效值”并生成一个Tiapp.xml中TiApp编辑器中的red-x弹出错误消息。 这对我来说非常关键,因为之前的版本在appstore上,需要快速更新。 感谢名单

My appname () was "Sample Sample" which was working fine till Ti-SDK 2.1.3, After i updated to Ti SDK 3.0.0 and MVC alloy it is showing "Sample Sample is not a valid value for NCName" and generates a red-x pop-up error message in the TiApp Editor in Tiapp.xml. This is very critical for me as previous version is on appstore and need to update the same quickly. Thanx

最满意答案

它涉及到这个bug:

https://jira.appcelerator.org/browse/TIMOB-12171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

在tiapp.xml的节点中有空格会触发问题: <name>App Test</name>

String internationalization helps to avoid this problem http://developer.appcelerator.com/blog/2012/02/internationalization-of-app-names.html#appxml

更多推荐

本文发布于:2023-07-23 11:56:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1231588.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:有效值   Sample   NCName   valid

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!