Re: [doctrine-user] xml namespace prefix for xsd
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, thx. > I need to make commit request to https://github.com/doctrine/do > ctrine2/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? > > > С Уважением, Мельчук Артем. > > 2017-11-04 19:50 GMT+03:00 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-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 >>> options? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "doctrine-user" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to doctrine-user+unsubscr...@googlegroups.com. >>> To post to this group, send email to doctrine-user@googlegroups.com. >>> Visit this group at https://groups.google.com/group/doctrine-user. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "doctrine-user" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/doctrine-user/vnuUMDW_N7Y/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> doctrine-user+unsubscr...@googlegroups.com. >> To post to this group, send email to doctrine-user@googlegroups.com. >> Visit this group at https://groups.google.com/group/doctrine-user. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to doctrine-user+unsubscr...@googlegroups.com. > To post to this group, send email to doctrine-user@googlegroups.com. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
Re: [doctrine-user] xml custom-id-generator class attribute type nmtoken
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 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 to start :-) >> >> Marco Pivetta >> >> http://twitter.com/Ocramius >> >> http://ocramius.github.com/ >> >> On Sat, Nov 4, 2017 at 6:30 PM, Артем Мельчук >> wrote: >> >>> 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 : >>> Hey Артем, A test would be an addition to https://github.com/doctrine/do ctrine2/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 is fixed once you apply your patch to the XSD :-) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Sat, Nov 4, 2017 at 3:51 PM, Артем Мельчук wrote: > it's here: > > > > > > > > so we just need to change it's to xs:string > > Patch is you mean create new version of doctrine-mapping.xsd and make > diff for them and attach it's here? > What kind of test you need? > > > i made > > > *diff doctrine-mapping-old.xsd doctrine-mapping.xsd > > doctrine-mapping.xsd.patch* > my xml is now valid against corrected xsd. files and patch in > attachment. > > > > > С Уважением, Мельчук Артем. > > 2017-11-04 16:19 GMT+03:00 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. >>> >>> >>> >>> >>> >>> I need to correct xsd or i am don't understand something? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "doctrine-user" group. >>> To unsubscribe from this group and stop receiving emails from it, >>> send an email to doctrine-user+unsubscr...@googlegroups.com. >>> To post to this group, send email to doctrine-user@googlegroups.com. >>> Visit this group at https://groups.google.com/group/doctrine-user. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to a topic in >> the Google Groups "doctrine-user" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/doctrine-user/q9aHfy5l30M/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> doctrine-user+unsubscr...@googlegroups.com. >> To post to this group, send email to doctrine-user@googlegroups.com. >> Visit this group at https://groups.google.com/group/doctrine-user. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google > Groups "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to doctrine-user+unsubscr...@googlegroups.com. > To post to this group, send email to doctrine-user@googlegroups.com. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to a topic in the Google Groups "doctrine-user" group. To unsubscribe from this topic, visit https://groups.google.com/d/to pic/doctrine-user/q9aHfy5l30M/unsubscribe. To unsubscribe from this group and all its topics, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit
Re: [doctrine-user] Entity generation directory layout
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, Артем Мельчукwrote: > ok. thx. Will try to hack it. > > С Уважением, Мельчук Артем. > > 2017-11-04 19:51 GMT+03:00 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. 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 other side composer autoloader exist and give possibility to map >>> directories and namespaces for autolading. >>> >>> Is it possible to control this behavior during generation? For example >>> generate php classes directly in target dir or cut some head namespace from >>> full namespace of entity before create directory structure? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "doctrine-user" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to doctrine-user+unsubscr...@googlegroups.com. >>> To post to this group, send email to doctrine-user@googlegroups.com. >>> Visit this group at https://groups.google.com/group/doctrine-user. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "doctrine-user" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/doctrine-user/O1Gi3DZ0iek/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> doctrine-user+unsubscr...@googlegroups.com. >> To post to this group, send email to doctrine-user@googlegroups.com. >> Visit this group at https://groups.google.com/group/doctrine-user. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to doctrine-user+unsubscr...@googlegroups.com. > To post to this group, send email to doctrine-user@googlegroups.com. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
Re: [doctrine-user] xml custom-id-generator class attribute type nmtoken
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 to start :-) > > Marco Pivetta > > http://twitter.com/Ocramius > > http://ocramius.github.com/ > > On Sat, Nov 4, 2017 at 6:30 PM, Артем Мельчук > wrote: > >> 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 : >> >>> Hey Артем, >>> >>> A test would be an addition to https://github.com/doctrine/do >>> ctrine2/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 is fixed once you apply your patch >>> to the XSD :-) >>> >>> Marco Pivetta >>> >>> http://twitter.com/Ocramius >>> >>> http://ocramius.github.com/ >>> >>> On Sat, Nov 4, 2017 at 3:51 PM, Артем Мельчук >>> wrote: >>> it's here: so we just need to change it's to xs:string Patch is you mean create new version of doctrine-mapping.xsd and make diff for them and attach it's here? What kind of test you need? i made *diff doctrine-mapping-old.xsd doctrine-mapping.xsd > doctrine-mapping.xsd.patch* my xml is now valid against corrected xsd. files and patch in attachment. С Уважением, Мельчук Артем. 2017-11-04 16:19 GMT+03:00 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. >> >> >> >> >> >> I need to correct xsd or i am don't understand something? >> >> -- >> You received this message because you are subscribed to the Google >> Groups "doctrine-user" group. >> To unsubscribe from this group and stop receiving emails from it, >> send an email to doctrine-user+unsubscr...@googlegroups.com. >> To post to this group, send email to doctrine-user@googlegroups.com. >> Visit this group at https://groups.google.com/group/doctrine-user. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "doctrine-user" group. > To unsubscribe from this topic, visit https://groups.google.com/d/to > pic/doctrine-user/q9aHfy5l30M/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > doctrine-user+unsubscr...@googlegroups.com. > To post to this group, send email to doctrine-user@googlegroups.com. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "doctrine-user" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>> pic/doctrine-user/q9aHfy5l30M/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> doctrine-user+unsubscr...@googlegroups.com. >>> To post to this group, send email to doctrine-user@googlegroups.com. >>> Visit this group at https://groups.google.com/group/doctrine-user. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "doctrine-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to doctrine-user+unsubscr...@googlegroups.com. >> To post to this group, send email to doctrine-user@googlegroups.com. >> Visit this group at https://groups.google.com/group/doctrine-user.
Re: [doctrine-user] xml namespace prefix for xsd
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? С Уважением, Мельчук Артем. 2017-11-04 19:50 GMT+03:00 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-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 >> options? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "doctrine-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to doctrine-user+unsubscr...@googlegroups.com. >> To post to this group, send email to doctrine-user@googlegroups.com. >> Visit this group at https://groups.google.com/group/doctrine-user. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "doctrine-user" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/doctrine-user/vnuUMDW_N7Y/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > doctrine-user+unsubscr...@googlegroups.com. > To post to this group, send email to doctrine-user@googlegroups.com. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
Re: [doctrine-user] xml custom-id-generator class attribute type nmtoken
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: > 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 is fixed once you apply your patch > to the XSD :-) > > Marco Pivetta > > http://twitter.com/Ocramius > > http://ocramius.github.com/ > > On Sat, Nov 4, 2017 at 3:51 PM, Артем Мельчук > wrote: > >> it's here: >> >> >> >> >> >> >> >> so we just need to change it's to xs:string >> >> Patch is you mean create new version of doctrine-mapping.xsd and make >> diff for them and attach it's here? >> What kind of test you need? >> >> >> i made >> >> >> *diff doctrine-mapping-old.xsd doctrine-mapping.xsd > >> doctrine-mapping.xsd.patch* >> my xml is now valid against corrected xsd. files and patch in >> attachment. >> >> >> >> >> С Уважением, Мельчук Артем. >> >> 2017-11-04 16:19 GMT+03:00 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. I need to correct xsd or i am don't understand something? -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout. >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "doctrine-user" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>> pic/doctrine-user/q9aHfy5l30M/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> doctrine-user+unsubscr...@googlegroups.com. >>> To post to this group, send email to doctrine-user@googlegroups.com. >>> Visit this group at https://groups.google.com/group/doctrine-user. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "doctrine-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to doctrine-user+unsubscr...@googlegroups.com. >> To post to this group, send email to doctrine-user@googlegroups.com. >> Visit this group at https://groups.google.com/group/doctrine-user. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "doctrine-user" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/doctrine-user/q9aHfy5l30M/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > doctrine-user+unsubscr...@googlegroups.com. > To post to this group, send email to doctrine-user@googlegroups.com. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
Re: [doctrine-user] Entity generation directory layout
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, MetaAbstractwrote: > 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 other > side composer autoloader exist and give possibility to map directories and > namespaces for autolading. > > Is it possible to control this behavior during generation? For example > generate php classes directly in target dir or cut some head namespace from > full namespace of entity before create directory structure? > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to doctrine-user+unsubscr...@googlegroups.com. > To post to this group, send email to doctrine-user@googlegroups.com. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
Re: [doctrine-user] xml namespace prefix for xsd
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, MetaAbstractwrote: > 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 > options? > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to doctrine-user+unsubscr...@googlegroups.com. > To post to this group, send email to doctrine-user@googlegroups.com. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
[doctrine-user] Entity generation directory layout
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 other side composer autoloader exist and give possibility to map directories and namespaces for autolading. Is it possible to control this behavior during generation? For example generate php classes directly in target dir or cut some head namespace from full namespace of entity before create directory structure? -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
Re: [doctrine-user] xml custom-id-generator class attribute type nmtoken
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 is fixed once you apply your patch to the XSD :-) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Sat, Nov 4, 2017 at 3:51 PM, Артем Мельчукwrote: > it's here: > > > > > > > > so we just need to change it's to xs:string > > Patch is you mean create new version of doctrine-mapping.xsd and make diff > for them and attach it's here? > What kind of test you need? > > > i made > > > *diff doctrine-mapping-old.xsd doctrine-mapping.xsd > > doctrine-mapping.xsd.patch* > my xml is now valid against corrected xsd. files and patch in attachment. > > > > > С Уважением, Мельчук Артем. > > 2017-11-04 16:19 GMT+03:00 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. >>> >>> >>> >>> >>> >>> I need to correct xsd or i am don't understand something? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "doctrine-user" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to doctrine-user+unsubscr...@googlegroups.com. >>> To post to this group, send email to doctrine-user@googlegroups.com. >>> Visit this group at https://groups.google.com/group/doctrine-user. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "doctrine-user" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/doctrine-user/q9aHfy5l30M/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> doctrine-user+unsubscr...@googlegroups.com. >> To post to this group, send email to doctrine-user@googlegroups.com. >> Visit this group at https://groups.google.com/group/doctrine-user. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to doctrine-user+unsubscr...@googlegroups.com. > To post to this group, send email to doctrine-user@googlegroups.com. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
[doctrine-user] xml namespace prefix for xsd
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 options? -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
Re: [doctrine-user] xml custom-id-generator class attribute type nmtoken
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. > > > > > > I need to correct xsd or i am don't understand something? > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to doctrine-user+unsubscr...@googlegroups.com. > To post to this group, send email to doctrine-user@googlegroups.com. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
[doctrine-user] xml custom-id-generator class attribute type nmtoken
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 subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+unsubscr...@googlegroups.com. To post to this group, send email to doctrine-user@googlegroups.com. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.