← Prev in month
← Prev in thread
Next in thread →
Next in month →
[ebxml-msg] Fw: schema error
Resending to fix address error. -Arvola -----Original Message----- From: Arvola Chan <> To: David Fischer <> Cc: <> Date: Wednesday, October 31, 2001 10:21 AM Subject: Re: schema error >David: > >A number of problems in the schema has been fixed since the >draft-msg-header-01.xsd version. The only additional fix I am >making now is to specify a default value of 1.1 for the eb:version >attribute (in place of fixed="1.0"). > >I don't recall ever making any change related to allowing the >Description element to have an optional xml:lang attribute. >I tried validating the XML instance from BTrade against my local >version of the schema and no errors were detected. > >Attached please find: > >- draft-msg-header-02.xsd >- adapted XML instance from BTrade with schema location set to > c:\ebxml\draft-msg-header-02.xsd > >Please let me know when you want the revised XSD posted under >http://www.oasis-open.org/committees/ebxml-msg/schema/ > >Regards, >-Arvola > >-----Original Message----- >From: David Fischer <> >To: Arvola Chan <> >Date: Wednesday, October 31, 2001 9:42 AM >Subject: FW: schema error > > >>BTrade sent me this error report on our schema. Have you already corrected >>these? >> >>Regards, >> >>David. >> >>===================== >> >>Hi David, >> >>I got the XML parser accepted the namespace and schema declaration. But >>it seems like there are a few errors inside the schema. >>For example, the xml:lang attribute has not defined inside the >>Description element under Manifest -> Reference. The eb:version must be >>"1.1" according to the spec but the schema definition has fixed value >>"1.0". I made the temporary change to get rid of the parser error. >> >> >>------------------------------------------------------------------------ >>------------------------------------------------- >>[Error] :7:199: Error: constraint 3.x.3: Attribute 'form' cannot appear >>in element 'attribute'. >>2001-10-30-17-05-48 : EventHandler : XMLErrorHandler : [Error] :7:199: >>Schema error: simpleType not found : >>(http://www.oasis-open.org/committees/ebxml-msg/schema/draft-msg-header- >>00.xsd:boolean) -- (local attribute) duplicateElimination . >>2001-10-30-17-05-48 : EventHandler : XMLErrorHandler : [Error] :7:199: >>Schema error: attribute duplicateElimination has an unrecognized type >>tns:boolean. >>2001-10-30-17-05-48 : EventHandler : XMLErrorHandler : [Error] :7:199: >>No validator for datatype tns:boolean >>2001-10-30-17-05-48 : EventHandler : XMLErrorHandler : [Error] :7:199: >>Schema error: prefix : [xml] cannot be resolved to a URI. >>2001-10-30-17-05-48 : EventHandler : XMLErrorHandler : [Error] :7:199: >>Schema error: no attribute named "lang" was defined in schema : . >>2001-10-30-17-05-48 : EventHandler : XMLErrorHandler : [Error] :7:199: >>Schema error: prefix : [xml] cannot be resolved to a URI. >>2001-10-30-17-05-48 : EventHandler : XMLErrorHandler : [Error] :7:199: >>Schema error: no attribute named "lang" was defined in schema : . >>2001-10-30-17-05-49 : EventHandler : XMLErrorHandler : [Error] :32:56: >>Attribute "xml:lang" must be declared for element type "eb:Description". >> >>------------------------------------------------------------------------ >>------------------------------------------------------------------------ >>-------------------------------------------------------------- >><?xml version="1.0" encoding="UTF-8"?> >><SOAP-ENV:Envelope >>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" >> xmlns:xlink="http://www.w3.org/1999/xlink" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> >>xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ >>http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd"> >> <SOAP-ENV:Header >>xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/draft-ms >>g-header-00.xsd" >> >>xsi:schemaLocation="http://www.oasis-open.org/committees/ebxml-msg/schem >>a/draft-msg-header-00.xsd >>http://www.oasis-open.org/committees/ebxml-msg/schema/draft-msg-header-0 >>1.xsd"> >> <eb:MessageHeader SOAP-ENV:mustUnderstand="1" >> eb:version="1.0"> >> <eb:From> >> <eb:PartyId >>eb:type="btrade.ebxmldev.com">10.10.10.105</eb:PartyId> >> </eb:From> >> <eb:To> >> <eb:PartyId >>eb:type="btrade.ebxmldev.com">10.10.10.105</eb:PartyId> >> </eb:To> >> <eb:CPAId>/10.10.10.105/10.10.10.105/</eb:CPAId> >> >><eb:ConversationId>CON2001-10-30-17-05-06-0968</eb:ConversationId> >> <eb:Service>Seller Service</eb:Service> >> <eb:Action>Purchase Order Request Action</eb:Action> >> <eb:MessageData> >> >><eb:MessageId>MSG2001-10-30-17-05-09-0546</eb:MessageId> >> <eb:Timestamp>2001-10-30T17:05:09</eb:Timestamp> >> </eb:MessageData> >> </eb:MessageHeader> >> </SOAP-ENV:Header> >> <SOAP-ENV:Body >>xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/draft-ms >>g-header-00.xsd" >> >>xsi:schemaLocation="http://www.oasis-open.org/committees/ebxml-msg/schem >>a/draft-msg-header-00.xsd >>http://www.oasis-open.org/committees/ebxml-msg/schema/draft-msg-header-0 >>1.xsd"> >> <eb:Manifest eb:id="MAN2001-10-30-17-05-09-0562" eb:version="1.0"> >> <eb:Reference eb:id="payload1" xlink:type="simple" >> xlink:href="cid:PL2001-10-30-17-05-06-09681" > >> <eb:Schema >>eb:location="www.btrade.com/ebXMLHandler/schema/test.xsd" /> >> <eb:Description >>xml:lang="en-us">OrderCreate</eb:Description> >> </eb:Reference> >> </eb:Manifest> >> </SOAP-ENV:Body> >></SOAP-ENV:Envelope> >> >>------------------------------------------------------------------------ >>------------------------------------------------------------------------ >>------------------------------------------------------- >> >>Thanks, >> >>-Wei >> >
← Prev in month
← Prev in thread
Next in thread →
Next in month →