Hi Chris, I tried a slightly cut down version of your schema because it complained about parmSetDefType not being found. The follow seems to load ok for me and is still recursive:
<?xml version="1.0" encoding="UTF-8" ?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:testNS" targetNamespace="urn:testNS"> <xs:complexType name="parmSetGroupType"> <xs:sequence> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element name="group"> <xs:complexType> <xs:complexContent mixed="false"> <xs:extension base="parmSetGroupType"> <xs:attribute name="name" type="xs:string" use="required" /> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:choice> </xs:sequence> </xs:complexType> </xs:schema> When I do echo $xmldas->__toString(); on the resulting DAS I get the following types: object(SDO_DAS_XML)#1 { 20 types have been defined. The types and their properties are:: 1. commonj.sdo#BigDecimal 2. commonj.sdo#BigInteger 3. commonj.sdo#Boolean 4. commonj.sdo#Byte 5. commonj.sdo#Bytes 6. commonj.sdo#ChangeSummary 7. commonj.sdo#Character 8. commonj.sdo#DataObject 9. commonj.sdo#Date 10. commonj.sdo#Double 11. commonj.sdo#Float 12. commonj.sdo#Integer 13. commonj.sdo#Long 14. commonj.sdo#OpenDataObject 15. commonj.sdo#Short 16. commonj.sdo#String 17. commonj.sdo#URI 18. urn:testNS#RootType 19. urn:testNS#group - name (commonj.sdo#String) 20. urn:testNS#parmSetGroupType - group (urn:testNS#group) } Can you take a look at this example and tell me if it works for you or whether I've changed your example too much to test the real problem. Thanks, Graham On 29 Mar, 20:25, "cdouglas" <[EMAIL PROTECTED]> wrote: > Hello, > I have an XSD that I an trying to load that the DAS is throwing a > SDO_TypeNotFoundException for parmSetGroupType. The section in > question is calling itself recursively. The whole error is below. Is > this a bug or something that isn't supported? None of my other XSD's > have this, so it hasn't come up before. > > Thanks > Chris > > <xs:complexType name="parmSetGroupType"> > <xs:sequence> > <xs:element name="definition" type="parmSetDefType" /> > <xs:choice minOccurs="0" maxOccurs="unbounded"> > <xs:element name="group"> > <xs:complexType> > <xs:complexContent mixed="false"> > <xs:extension base="parmSetGroupType"> > <xs:attribute name="name" type="xs:string" > use="required" /> > </xs:extension> > </xs:complexContent> > </xs:complexType> > </xs:element> > <xs:element name="parameter"> > <xs:complexType> > <xs:sequence> > <xs:element minOccurs="0" name="definition" > type="parmSetDefType" /> > </xs:sequence> > <xs:attribute name="name" type="xs:string" use="required" / > > </xs:complexType> > </xs:element> > </xs:choice> > </xs:sequence> > </xs:complexType> > > SDO_TypeNotFoundException Object ( [message:protected] => Type not > found :http://www.securustech.net/private/scn/scnAppDataDefinition > parmSetGroupType [string:private] => [code:protected] => 0 > [file:protected] => /var/www/scptools/html/prov3/index.php > [line:protected] => 5 [trace:private] => Array ( [0] => Array ( [file] > => /var/www/scptools/html/prov3/index.php [line] => 5 [function] => > create [class] => SDO_DAS_XML [type] => :: [args] => Array ( [0] => > scnAppDataDefinition.xsd ) ) ) [cause] => SDO_CPPException Object > ( [class] => SDOTypeNotFoundException [file] => /downloads/ > SCA_SDO-1.1.2/commonj/sdo/DataFactoryImpl.cpp [line] => 787 [function] > => "setBaseType" [message] => Type not found > :http://www.securustech.net/private/scn/scnAppDataDefinitionparmSetGroupType > [severity] => 2 [string:private] => Exception object : class: > SDOTypeNotFoundException file name: /downloads/SCA_SDO-1.1.2/commonj/ > sdo/DataFactoryImpl.cpp line number: 787 function: "setBaseType" > description: Type not found :http://www.securustech.net/private/scn/ > scnAppDataDefinition parmSetGroupType location history: ) ) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "phpsoa" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en -~----------~----~----~----~------~----~------~--~---
