Skip to content

xsd:anyURI #23

@davidcarlisle

Description

@davidcarlisle

Historically the W3C have had great difficulty in defining what a URL/URI was. the XSD 1.0 definition had some ... features, and XSD 1.1 redefined it to have the same value space as xsd:string (with the intention that you can use it with natural strings documents and any uri-encoding is done as some back end process cf a browser address bar.)

most of our existing cds have

<CDURL> http://www.openmath.org/cd/arith1.ocd </CDURL>

and the schema says

CDURL = element CDURL { xsd:anyURI }

so this matches or not depending on the built in anyURI definition.

Of the ones I have to hand rnv and xmllint says it is valid and emacs nxml mode says it is not

I don't really want to change the schema to make space explicitly allowed (doing that while referencing anyURI is a bit convoluted I think) and the schema is anyway in the openmath spec, so I suggest I just do a global edit and remove the space from xsd:anyURI elements. (I never liked those spaces anyway:-)

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