B4J Question Xom lib compile error

PoseidonSA

New Member
Licensed User
Hello everyone,

I am using the XOM lib from this thread https://www.b4x.com/android/forum/threads/lib-xom.23551/#content. It works as intended in both debug and release mode, however when i try to compile through "Build Standalone Package", i get 2 errors as shown in the pic. I'm pretty sure i need to add some dependency on #AdditionalJar or #PackagerProperty, though whatever i've tried did not work. I also provide a sample project. Thanks in advance.
XOMError.PNG
 

Attachments

  • XML XOM Demo.zip
    3.5 KB · Views: 97

walterf25

Expert
Licensed User
Longtime User
Hello everyone,

I am using the XOM lib from this thread https://www.b4x.com/android/forum/threads/lib-xom.23551/#content. It works as intended in both debug and release mode, however when i try to compile through "Build Standalone Package", i get 2 errors as shown in the pic. I'm pretty sure i need to add some dependency on #AdditionalJar or #PackagerProperty, though whatever i've tried did not work. I also provide a sample project. Thanks in advance.
View attachment 150749
Seems to work just fine on my end, did you include the two additional dependency libraries required as noted in this post here
 

Attachments

  • xom_example.JPG
    xom_example.JPG
    29.6 KB · Views: 72
Upvote 0

PoseidonSA

New Member
Licensed User
Everything is working as expected in release or debug. Did you click on "Build Standalone Package" and it's working? That's where i have the problem.
 
Upvote 0

PoseidonSA

New Member
Licensed User
I'm not familiar with this library but unless you are parsing something very special, it will be easier to parse with Xml2Map. And it will fix this error.
If i did not find a solution, i would use Xml2Map. I think i will do just that. Thank you all!
 
Upvote 0
Top