Skip to content

XmlProvider can't parse well-established ISO schema #1792

Description

@reinux

I'm not too familiar with the XML schema format, so maybe this is an issue on the schema side, but being that it's a schema file provided by iso.org, I have a feeling it should be well-formed.

Repro:

#r "nuget: FSharp.Data"

open FSharp.Data

type Mpd = XmlProvider<Schema = "https://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd">

The error:

The type provider 'ProviderImplementation.XmlProvider' reported an error: Cannot read sample XSD from 'https://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd': System.Xml.Schema.XmlSchemaException: The 'http://www.w3.org/1999/xlink:href' attribute is not declared.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions