Comments (5)
I was able to use a for loop and some excel (to get the correct namespaces for my config.yml) and everything worked. Thank you so much for the help.
from xsd2php.
Can't find PHP namespace to 'http://cufxstandards.com/v3/Account.xsd' namespace
means that some of your XML files is declaring http://cufxstandards.com/v3/Account.xsd
as namespace, so you have to add it to your config.yml
, example:
xsd2php:
namespaces:
'http://cufxstandards.com/v3/': 'cufx'
'http://cufxstandards.com/v3/Account.xsd': 'cufx\Account'
destinations_php:
'cufx': 'cufx/src'
destinations_jms:
'cufx': 'cufx/metadata'
keep in mind that in XML namespaces do not have any hierarchy
from xsd2php.
regarding
xsd2php convert config.yml D:\nginx\html\phoenix\vendor\bin\xsd*.xsd -> Can't load the file
please post the whole error message, including working dir paths
from xsd2php.
D:\nginx\html\phoenix\vendor\bin>xsd2php convert config.yml D:\nginx\html\phoenix\vendor\bin\xsd\*.xsd
PHP Warning: DOMDocument::load(): I/O warning : failed to load external entity "file:/D:/nginx/html/phoenix/vendor/bin/xsd/*.xsd" in D:\nginx\html\phoenix\vendor\goetas-webservices\xsd-reader\src\SchemaReader.php on line 761
Warning: DOMDocument::load(): I/O warning : failed to load external entity "file:/D:/nginx/html/phoenix/vendor/bin/xsd/*.xsd" in D:\nginx\html\phoenix\vendor\goetas-webservices\xsd-reader\src\SchemaReader.php on line 761
[GoetasWebservices\XML\XSDReader\Exception\IOException]
Can't load the file D:\nginx\html\phoenix\vendor\bin\xsd*.xsd
from xsd2php.
Do not know which version of windows you are using, but http://superuser.com/questions/460598/is-there-any-way-to-get-the-windows-cmd-shell-to-expand-wildcard-paths might be useful
DOS, and consequently Windows' cmd.exe, never supported wildcard expansion by the shell. It was always up to the application to do the expansion.
from xsd2php.
Related Issues (20)
- types used in php classes are different than types used in the yaml configs HOT 3
- Namespace for array element - xml_list HOT 3
- Not working with Symfony HOT 1
- Deserializing boolean values HOT 6
- Handlers dosn't work. Class `GoetasWebservices\Xsd\XsdToPhp\XMLSchema\Date does not exist HOT 3
- xml attribute cause Uncaught ReflectionException: Class \ does not exist because it seaches empty class HOT 2
- Unable to generate PHP classes from XML file
- Validation metadata setting max count = 2 to elements with no maxOccurs.
- No namespace(s). What to do? HOT 1
- Problems with JMS-Metadata-Generator HOT 4
- Improper PHP code form choice element HOT 2
- Unable to generate PHP classes from XSD file HOT 3
- Declaration of Xsd2PhpExtension::getAlias() must be compatible with Symfony\Component\DependencyInjection\Extension\Extension::getAlias() HOT 4
- Better Handling of xsd:choice
- [Feature Request] Add option to add PHP type declarations
- Handling of xsd:squence with maxOccurs="unbounded"
- Composer requirements version HOT 3
- still uses psr/log:^1.0 - Please add support for psr/log:^3.0 and ^2.0 HOT 3
- CDATA sections not being disabled in XML despite setting xml_cdata to false in goetas-webservices/xsd2php HOT 2
- Can you help me create config.yml
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 xsd2php.