Re: [doctrine-user] xml namespace prefix for xsd

2017-11-04 Thread Marco Pivetta
Yeah, if you can, you can help also with improving the docs - same as the other thread, just need to get started with GIT and github :-) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Sat, Nov 4, 2017 at 6:39 PM, Артем Мельчук wrote: > ok,

Re: [doctrine-user] xml custom-id-generator class attribute type nmtoken

2017-11-04 Thread Marco Pivetta
Probably IRC, yes, although you can refer to https://yangsu.github.io/pull-request-tutorial/ to get started Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Sat, Nov 4, 2017 at 6:45 PM, Артем Мельчук wrote: > Thx a lot! What is the best

Re: [doctrine-user] Entity generation directory layout

2017-11-04 Thread Marco Pivetta
It's not supposed to be hacked - it is intended behavior. If you need the generated files to be moved somewhere else, you will need to do so yourself Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Sat, Nov 4, 2017 at 6:47 PM, Артем Мельчук

Re: [doctrine-user] xml custom-id-generator class attribute type nmtoken

2017-11-04 Thread Артем Мельчук
Thx a lot! What is the best channel for contributor? IRC? This is user support as i think С Уважением, Мельчук Артем. 2017-11-04 20:32 GMT+03:00 Marco Pivetta : > Let us know if we can help out in getting started - contributing to OSS > from a simple patch is the best way

Re: [doctrine-user] xml namespace prefix for xsd

2017-11-04 Thread Артем Мельчук
ok, thx. I need to make commit request to https://github.com/doctrine/ doctrine2/blob/master/docs/en/reference/xml-mapping.rst? ))) p.s. it's takes 6 hours to understand this for me p.p.s also console command was need a some hack to work. write another topic? С Уважением, Мельчук Артем.

Re: [doctrine-user] xml custom-id-generator class attribute type nmtoken

2017-11-04 Thread Артем Мельчук
Hi, Macrco! I understood workflow. After next week will try to make this. It's ok? I am not very familiar with git ( prefer svn) and phpunit(prefer clear code and architecture), but it's good case for practice in this area. С Уважением, Мельчук Артем. 2017-11-04 19:38 GMT+03:00 Marco Pivetta

Re: [doctrine-user] Entity generation directory layout

2017-11-04 Thread Marco Pivetta
The entities are always generated in a PSR-0 (*not* PSR-4) compliant structure given a root directory. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Sat, Nov 4, 2017 at 5:46 PM, MetaAbstract wrote: > I generate entities from xml metadata.

Re: [doctrine-user] xml namespace prefix for xsd

2017-11-04 Thread Marco Pivetta
This is normal behavior of the metadata drivers: they can't currently deal with standard NS prefixing. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Sat, Nov 4, 2017 at 5:24 PM, MetaAbstract wrote: > By default my IDE add prefix for

[doctrine-user] Entity generation directory layout

2017-11-04 Thread MetaAbstract
I generate entities from xml metadata. But namespace for them have several levels. So all levels of namespace was converted to directory structure under the target directory for generation. But in the namespace in head are several abstract levels like brand and project, may be module. From

Re: [doctrine-user] xml custom-id-generator class attribute type nmtoken

2017-11-04 Thread Marco Pivetta
Hey Артем, A test would be an addition to https://github.com/doctrine/doctrine2/blob/a82f6c5725cb31348eae0b4414e8992b1400ba30/tests/Doctrine/Tests/ORM/Mapping/XmlMappingDriverTest.php You have to write a mapping with a `custom-id-generator` that breaks on the current version of the ORM, and that

[doctrine-user] xml namespace prefix for xsd

2017-11-04 Thread MetaAbstract
By default my IDE add prefix for doctrine-mapping.xsd in xml matadata file. But orm:generate-entities gave an error "Invalid mapping file ..." while i remove namespace. After i remove prefix generation was made. Is it normal behavior for metadata file analyzing or i miss some generation

Re: [doctrine-user] xml custom-id-generator class attribute type nmtoken

2017-11-04 Thread Marco Pivetta
Send a patch with a test  On 4 Nov 2017 13:48, "MetaAbstract" wrote: > Hi, > I define custom id generator and can't define class for custom id > generator because class is nmtoken type not string. XSD checker give error > for class name. > > > >

[doctrine-user] xml custom-id-generator class attribute type nmtoken

2017-11-04 Thread MetaAbstract
Hi, I define custom id generator and can't define class for custom id generator because class is nmtoken type not string. XSD checker give error for class name. I need to correct xsd or i am don't understand something? -- You received this message because you are