it's here:
<xs:complexType name="custom-id-generator">
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
</xs:sequence>
<xs:attribute name="class" type="xs:NMTOKEN" use="required" />
</xs:complexType>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 <[email protected]>: > Send a patch with a test 👍 > > On 4 Nov 2017 13:48, "MetaAbstract" <[email protected]> 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. >> >> <orm:id name="DUUID" type="string" length="33"> >> <orm:generator strategy="CUSTOM"></orm:generator> >> <orm:custom-id-generator class="MetaAbstract\Documents\ >> Utils\DUUID"></orm:custom-id-generator> >> </orm:id> >> 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 [email protected]. >> To post to this group, send email to [email protected]. >> 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 > [email protected]. > To post to this group, send email to [email protected]. > 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
doctrine-mapping.xsd
Description: XML document
doctrine-mapping-old.xsd
Description: XML document
415c415 < <xs:attribute name="class" type="xs:NMTOKEN" use="required" /> --- > <xs:attribute name="class" type="xs:string" use="required" />
