Giter VIP home page Giter VIP logo

Comments (5)

j3k0 avatar j3k0 commented on May 18, 2024 1

Do you know of any other namespaces that are used in the app descriptor

I don't. Someone at Harman probably have the full answer in the app descriptor parser source code.

from apm.

marchbold avatar marchbold commented on May 18, 2024

Thanks for identifying this one. I'd say this is related to that hack around updating the air namespace. I will look into moving that to a proper namespace implementation.

from apm.

marchbold avatar marchbold commented on May 18, 2024

Seems the xml isn't really valid with that addition, it's missing a definition for the xml namespace. I've gotten something in to fix it and just running some tests now.

Do you know of any other namespaces that are used in the app descriptor? xml:lang appears to be the only one I can find.

from apm.

marchbold avatar marchbold commented on May 18, 2024

Seems to be the only one I can find in their latest docs : https://airsdk.dev/docs/development/application-descriptor-files/application#localisation but I'll check with Andrew as well.

from apm.

sjabberwocky avatar sjabberwocky commented on May 18, 2024

I converted descriptor by migration guide with latest version of apm and it does not work well at the moment.

Names from this list were converted to

<name>
  <text xml:lang="en">Ancient Planet</text>
  <text xml:lang="zh_Hans">古老星球</text>
  <text xml:lang="zh_Hant">古老星球</text>
  <text xml:lang="ja">古代の惑星</text>
  <text xml:lang="ko">고대 행성</text>
  <text xml:lang="in">Planet Arkais</text>
</name>

this list and do not looks well on device.
Application name looked like <name xmlns....

<name>&lt;name xmlns="http://ns.adobe.com/air/application/33.1" xmlns:xml="http://www.w3.org/XML/1998/namespace"&gt;
&lt;text xml:lang="en"&gt;Ancient Planet&lt;/text&gt;
&lt;text xml:lang="zh_Hans"&gt;古老星球&lt;/text&gt;
&lt;text xml:lang="zh_Hant"&gt;古老星球&lt;/text&gt;
&lt;text xml:lang="ja"&gt;古代の惑星&lt;/text&gt;
&lt;text xml:lang="ko"&gt;고대 행성&lt;/text&gt;
&lt;text xml:lang="in"&gt;Planet Arkais&lt;/text&gt;
&lt;/name&gt;</name>

Happily I just removed name tag from project.apm and returned it to descriptor manually and it work fine.

from apm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.