-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add xmldisg schemata #23
Comments
CC @matteobaccan. |
@matteobaccan Suggestion: let me do the schemas exactly as they are referenced in 1.1 and 2.0 specifications. Do you have any sample XML files you could share? For testing purposes? |
You can use a public schema used in Italy for "fatture elettroniche" At this page https://www.fatturapa.gov.it/export/fatturazione/it/normativa/f-2.htm Is referenced that contains <xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/> There also some sample XML, but I don'y have find a valid signature. I use this library In a project where I must to generated offline the java class schema I have used a catalog.cat with these directives SYSTEM "http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd" "xmldsig-core-schema.xsd" And I have add a local xmldsig-core-schema.xsd, but if you include all in w3c-schemas.jar I can remove SYSTEM directive and do a full offline generation using only your jar |
I have also find this w3c sample https://www.w3.org/TR/2002/REC-xmldsig-core-20020212/signature-example-rsa.xml |
@matteobaccan These schemas are buggy as hell: https://twitter.com/orless/status/1123249634187595777 I had to patch a few things but now seem to be able to compile both 1.1 and 2.0. |
…he original resource is invalid XML. #23
@matteobaccan Please build/try the https://github.com/highsource/w3c-schemas/tree/issue-23 branch. And if you happen to have an XML-DSig 2.0 example handy, I'd be grateful. |
Hi I have try to use the snapshot and works in my projects. I only suggest to you to add also this XSD https://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd This is due to the large use of this XSD insted of https://www.w3.org/TR/2008/REC-xmldsig-core-20080610/xmldsig-core-schema.xsd The two XSD are the same, for this reason, in some situation, there is a use of the 2002 reference and not the 2008 reference For example: this is the XSD used in Italy by e-invoicing all the best |
Hi have you planned the official new release of W3c-schemas with XMLDSIG support? ciao |
No description provided.
The text was updated successfully, but these errors were encountered: