cancel
Showing results for 
Search instead for 
Did you mean: 

DTD files as external Definition

Former Member
0 Kudos

Hi ,

Read lot of threads on this which are having same problem ,some of them got solved none of them posted how did they succeded on those.

i am getting error like Name "ds:Signature" is incorrect, when i tried to inport the .dtd file as external definition,so I did try converting dtd file to XSD ,it is creating the 3 xsd files and none of them are valid each one of them are error.But however the DTD file is valid .

Using Invoicedetail DTD file for my scenario.

you can download the file from http://cxml.org

Please let me knw on this.

Thanks,

Madhu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi.

which version PI do you use.?

Former Member
0 Kudos

HI,

We are on PI7.0SP14

Thanks,

Madhu

former_member181962
Active Contributor
0 Kudos

Hi Madhu,

I hope you have chosen the Messages : From DOCTYPE option in the listbox and category as dtd.

Because i am able to import the same dtd without errors.

I'm on XI 3.0 SP 22

REgards,

Ravi

Former Member
0 Kudos

Ravi,

Why don't you send me your Invoicedetail dtd file that you are already imported.

Let me try once.

Thanks,

Madhu

former_member181962
Active Contributor
0 Kudos

Hi Madhu,

I'm sorry but my company mail policy doesn't allow to send dtd files as attachments.

I will tell you what id did.

I went to that site you have given.

cxml.com and clicked on downloads.

It took me to :

http://cxml.org/files/downloads.cfm

Then I right clicked on InvoiceDetail.zip file and save the target to my desktop.

The zip file got downloaded and it had some folderd and a dtd file inside it.

I have extracted the dtd file to the desktop.

Then I went into my XI IR and created an external definition.

Chose category as dtd and Messages: From the DOCTYPE and clicked on the import button beside the file field.

REgards,

Ravi

Former Member
0 Kudos

Hey

I am using the same cXML and don't have any issues in ds:Signature it does exist in my XSD's

it did create 3 XSD's for me and all of them are fine.

can you please tell what error you get in XSD's

Thanks

Aamir

Former Member
0 Kudos

Hi,

Here are the errors for the 3 xsd's

1. Value 'ds:Signature' is not allowed for attribute 'ref'.

Hint: A valid value would be 'xml:lang'.

Error location: xs:schema / xs:element / xs:complexType / xs:sequence / xs:element / @ref

2. Value 'ds:Signature' is not allowed for attribute 'ref'.

Hint: A valid value would be 'xml:lang'.

Error location: xs:schema / xs:element / xs:complexType / xs:sequence / xs:element / @ref

3. Value 'xades:Identifier' is not allowed for attribute 'ref'.

Hint: A valid value would be 'xml:lang'.

Error location: xs:schema / xs:element / xs:complexType / xs:sequence / xs:element / @ref

these errors are coming in xml spy when i tried to validate .

Thanks,

Madhu

Edited by: madhu204 on Jul 23, 2009 4:54 PM

Edited by: madhu204 on Jul 23, 2009 4:55 PM