ISO-TC211 / schemas

Official ISO/TC 211 XML Schemas (input to schemas.isotc211.org)
6 stars 8 forks source link

Invalid schema at https://schemas.isotc211.org/19115/-3/md2/2.0/md2.xsd #31

Open ronaldtse opened 4 years ago

ronaldtse commented 4 years ago

From Mr. Wern Yir Tsai:

I open the URL (https://schemas.isotc211.org/19115/-3/md2/2.0/md2.xsd) directly with the XML software, the XML software shows the error message as follows. "The schema doesn't appear to be valid by itself." "File https://schemas.isotc211.org/19115/-3/gco/1.0/baseTypes2014.xsd is not valid." (Please see the attached file: " 1-md2 is invalid.png ")

But I verify the "baseTypes2014.xsd" , it is valid. (Please see the attached file: " 2-baseTypes2014 is valid.png " )

Would you mind checking the "md2.xsd" if it has any error between the linked schemas ?

2-baseTypes2014 is valid

1-md2 is invalid

PeterParslow commented 4 years ago

Oxygen fails to validate them, with a different reason - an HTTPS certificate issue:

image

PeterParslow commented 4 years ago

More usefully, I remember this from XMLSpy years ago - it sometimes gets in a muddle with all the circular imports, when it thinks it has detected some kind of clash between two different definitions of the same thing.

Although here the message is claiming the gco:nilReason is declared twice in the same file - presumably it hasn't coped with that file being imported twice.

Perhaps one of the files, somewhere, is using 'import' where it should be 'include' (or the other way round!). Not sure how to easily check that across all the files.

ejbleys commented 4 years ago

Are you using one of the Saxon engine? Cheers E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia +61 (0)2 62811773 +61 (0)411 483 876 ejbleys@gmail.com Skype ejbleijs@gmail.com

On 2020-04-14, at 7:09 pm, Peter Parslow notifications@github.com wrote:

More usefully, I remember this from XMLSpy years ago - it sometimes gets in a muddle with all the circular imports, when it thinks it has detected some kind of clash between two different definitions of the same thing.

Although here the message is claiming the gco:nilReason is declared twice in the same file - presumably it hasn't coped with that file being imported twice.

Perhaps one of the files, somewhere, is using 'import' where it should be 'include' (or the other way round!). Not sure how to easily check that across all the files.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/31#issuecomment-613320856, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZZ5VSZE5FXULB7AX5TRMQR25ANCNFSM4MFI4WPA.

PeterParslow commented 4 years ago

I had Oxygen set to use Xerces; set to Saxon gives the same certificate error. But perhaps the question wasn't addressed to me....

ejbleys commented 4 years ago

Hi Peter It was, are you using Saxon EE? E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia +61 (0)2 62811773 +61 (0)411 483 876 ejbleys@gmail.com Skype ejbleijs@gmail.com

On 2020-04-14, at 8:06 pm, Peter Parslow notifications@github.com wrote:

I had Oxygen set to use Xerces; set to Saxon gives the same certificate error. But perhaps the question wasn't addressed to me....

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/31#issuecomment-613348372, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZ7AN6O4IT3QKZ6IHDDRMQYSTANCNFSM4MFI4WPA.

PeterParslow commented 4 years ago

Evert, Those are the two choices in Oxygen: Xerces or Saxon EE. But given it hits a certificate error, it hasn’t got that far.

Peter Parslow OS Open Standards Lead Adanac Drive, Southampton, United Kingdom, SO16 0AS T: +44 (0)2380 055341 | M: +44 (0)7796 610020 www.os.ukhttp://os.uk/ | peter.parslow@os.ukmailto:peter.parslow@os.uk

From: ejbleys notifications@github.com Sent: 14 April 2020 11:34 To: ISO-TC211/schemas schemas@noreply.github.com Cc: Peter Parslow Peter.Parslow@os.uk; Comment comment@noreply.github.com Subject: Re: [ISO-TC211/schemas] Invalid schema at https://schemas.isotc211.org/19115/-3/md2/2.0/md2.xsd (#31)

External Email: Take care with attachments & links.

Hi Peter It was, are you using Saxon EE? E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia +61 (0)2 62811773 +61 (0)411 483 876 ejbleys@gmail.commailto:ejbleys@gmail.com Skype ejbleijs@gmail.commailto:ejbleijs@gmail.com

On 2020-04-14, at 8:06 pm, Peter Parslow notifications@github.com<mailto:notifications@github.com> wrote:

I had Oxygen set to use Xerces; set to Saxon gives the same certificate error. But perhaps the question wasn't addressed to me....

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/31#issuecomment-613348372, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZ7AN6O4IT3QKZ6IHDDRMQYSTANCNFSM4MFI4WPA.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FISO-TC211%2Fschemas%2Fissues%2F31%23issuecomment-613360283&data=02%7C01%7Cpeter.parslow%40os.uk%7C102e93344ec446bc9cac08d7e05f63bb%7C7988742dc5434b9a87a910a7b354d289%7C0%7C0%7C637224572603112209&sdata=xuxa%2B%2B2TXNpGOeES5w63rPcC%2BbO%2FWlsPCER67Vbd7u8%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACAZJIIM7XHTCSKZFGIR7T3RMQ32VANCNFSM4MFI4WPA&data=02%7C01%7Cpeter.parslow%40os.uk%7C102e93344ec446bc9cac08d7e05f63bb%7C7988742dc5434b9a87a910a7b354d289%7C0%7C0%7C637224572603112209&sdata=TvJe%2B%2BmBXy9X9gfREayTmL3NTt3f8omLZyJSwwL881E%3D&reserved=0.

This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person.

Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey Limited (Company Registration number 09121572) Registered Office: Explorer House Adanac Drive Southampton SO16 0AS Tel: 03456 050505 http://www.os.uk

ejbleys commented 4 years ago

Hi Peter Di I understand what is happening - NO

Cheers E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia +61 (0)2 62811773 +61 (0)411 483 876 ejbleys@gmail.com Skype ejbleijs@gmail.com

On 2020-04-15, at 12:25 am, Peter Parslow notifications@github.com wrote:

Evert, Those are the two choices in Oxygen: Xerces or Saxon EE. But given it hits a certificate error, it hasn’t got that far.

Peter Parslow OS Open Standards Lead Adanac Drive, Southampton, United Kingdom, SO16 0AS T: +44 (0)2380 055341 | M: +44 (0)7796 610020 www.os.ukhttp://os.uk/ | peter.parslow@os.ukmailto:peter.parslow@os.uk

From: ejbleys notifications@github.com Sent: 14 April 2020 11:34 To: ISO-TC211/schemas schemas@noreply.github.com Cc: Peter Parslow Peter.Parslow@os.uk; Comment comment@noreply.github.com Subject: Re: [ISO-TC211/schemas] Invalid schema at https://schemas.isotc211.org/19115/-3/md2/2.0/md2.xsd (#31)

External Email: Take care with attachments & links.

Hi Peter It was, are you using Saxon EE? E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia +61 (0)2 62811773 +61 (0)411 483 876 ejbleys@gmail.commailto:ejbleys@gmail.com Skype ejbleijs@gmail.commailto:ejbleijs@gmail.com

On 2020-04-14, at 8:06 pm, Peter Parslow notifications@github.com<mailto:notifications@github.com> wrote:

I had Oxygen set to use Xerces; set to Saxon gives the same certificate error. But perhaps the question wasn't addressed to me....

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/31#issuecomment-613348372, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZ7AN6O4IT3QKZ6IHDDRMQYSTANCNFSM4MFI4WPA.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FISO-TC211%2Fschemas%2Fissues%2F31%23issuecomment-613360283&data=02%7C01%7Cpeter.parslow%40os.uk%7C102e93344ec446bc9cac08d7e05f63bb%7C7988742dc5434b9a87a910a7b354d289%7C0%7C0%7C637224572603112209&sdata=xuxa%2B%2B2TXNpGOeES5w63rPcC%2BbO%2FWlsPCER67Vbd7u8%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACAZJIIM7XHTCSKZFGIR7T3RMQ32VANCNFSM4MFI4WPA&data=02%7C01%7Cpeter.parslow%40os.uk%7C102e93344ec446bc9cac08d7e05f63bb%7C7988742dc5434b9a87a910a7b354d289%7C0%7C0%7C637224572603112209&sdata=TvJe%2B%2BmBXy9X9gfREayTmL3NTt3f8omLZyJSwwL881E%3D&reserved=0.

This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person.

Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey Limited (Company Registration number 09121572) Registered Office: Explorer House Adanac Drive Southampton SO16 0AS Tel: 03456 050505 http://www.os.uk — You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/31#issuecomment-613474485, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZ4W6X3PGNWROHGJQT3RMRW65ANCNFSM4MFI4WPA.