Comments (4)
Thanks Lars,
I tested and looks ok.
This is what I got for the example I posted:
<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>update_plan_prices</methodName><params><param><value><string>something</string></value></param><param><value><string>15632</string></value></param><param><value><int>1395</int></value></param><param><value><string>15/09/2021</string></value></param><param><value><struct><member><name>4035</name><value><array><data><value><int>3600</int></value><value><int>3700</int></value><value><int>4200</int></value><value><int>4300</int></value></data></array></value></member></struct></value></param></params></methodCall>
And for the comment of more then 1 integers keys in ascending order:
<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>update_plan_prices</methodName><params><param><value><string>something</string></value></param><param><value><string>15632</string></value></param><param><value><int>1395</int></value></param><param><value><string>15/09/2021</string></value></param><param><value><struct><member><name>4034</name><value><array><data><value><int>2500</int></value><value><int>2600</int></value><value><int>2650</int></value><value><int>2700</int></value></data></array></value></member><member><name>4035</name><value><array><data><value><int>3600</int></value><value><int>3700</int></value><value><int>4200</int></value><value><int>4300</int></value></data></array></value></member></struct></value></param></params></methodCall>
from fxmlrpc.
Just adding that this is happening when have more then 1 integers keys in ascending order
i.e 4035, 4036... they will be treated and converted data-values.
If they will be in some randomly order , i.e 4036, 4035 ... they will be converted to structs with member node.
from fxmlrpc.
@shushu304 could you test #84 which should address your issues?
from fxmlrpc.
Fixed with #84
from fxmlrpc.
Related Issues (20)
- Explicit empty() HOT 1
- Non-XML response returns null, no way to access response HOT 3
- Confusing $isFault in Client HOT 2
- Can't parse XML the $xmlParser->parse($xmlString) return null on valid XML HOT 1
- Ivory is deprecated in favor of php-http HOT 5
- Uncaught RuntimeException: Puli Factory is not available HOT 1
- Make zendframework/zend-diactoros, php-http/message and php-http/guzzle6-adapter dependencies HOT 2
- Use php-cs-fixer HOT 1
- Finalize exported serialization package HOT 7
- Installation HOT 2
- 6MB XML file HOT 2
- Cannot install guzzle6 adapter HOT 1
- Package not updated @packagist HOT 1
- Slow speed tests HOT 1
- zend-diactoros is abandoned HOT 3
- Implement PSR-17/18 adapter for direct connection to Guzzle 7
- PHP 8 support HOT 9
- [Bug] Implementation of PSR 17 Factories breaks requests
- New tag HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fxmlrpc.