Skip to content
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

Problems validating XML generated by si_to_xsi.xsl #10

Open
njh opened this issue Dec 21, 2017 · 1 comment
Open

Problems validating XML generated by si_to_xsi.xsl #10

njh opened this issue Dec 21, 2017 · 1 comment

Comments

@njh
Copy link

njh commented Dec 21, 2017

I am using si_to_xsi.xsl to generate XSI.xml from SI.xml:

xsltproc --output public/radiodns/epg/XSI.xml si_to_xsi.xsl public/radiodns/spi/3.1/SI.xml

However the resulting file does not validate:

curl -o radioepg_xsi_11.xsd http://schemas.radiodns.org/epg/11/radioepg_xsi_11.xsd
$ xmllint --schema radioepg_xsi_11.xsd --noout public/radiodns/epg/XSI.xml 
error : Unknown IO error
warning: failed to load external entity "http://www.worlddab.org/schemas/epgDataTypes/14/epgDataTypes_14.xsd"
radioepg_xsi_11.xsd:13: element import: Schemas parser warning : Element '{http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at location 'http://www.worlddab.org/schemas/epgDataTypes/14/epgDataTypes_14.xsd'. Skipping the import.
radioepg_xsi_11.xsd:24: element attribute: Schemas parser error : attribute decl. 'creationTime', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}timePointType' does not resolve to a(n) simple type definition.
radioepg_xsi_11.xsd:25: element attribute: Schemas parser error : attribute decl. 'originator', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}originatorType' does not resolve to a(n) simple type definition.
radioepg_xsi_11.xsd:26: element attribute: Schemas parser error : attribute decl. 'serviceProvider', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}serviceProviderType' does not resolve to a(n) simple type definition.
radioepg_xsi_11.xsd:46: element group: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}group', attribute 'ref': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}serviceNameGroup' does not resolve to a(n) model group definition.
radioepg_xsi_11.xsd:48: element element: Schemas parser error : element decl. '{http://schemas.radiodns.org/epg/11}mediaDescription', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}mediaDescriptionType' does not resolve to a(n) type definition.
radioepg_xsi_11.xsd:49: element element: Schemas parser error : element decl. '{http://schemas.radiodns.org/epg/11}link', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}linkType' does not resolve to a(n) type definition.
radioepg_xsi_11.xsd:58: element group: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}group', attribute 'ref': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}serviceNameGroup' does not resolve to a(n) model group definition.
radioepg_xsi_11.xsd:60: element element: Schemas parser error : element decl. '{http://schemas.radiodns.org/epg/11}mediaDescription', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}mediaDescriptionType' does not resolve to a(n) type definition.
radioepg_xsi_11.xsd:61: element element: Schemas parser error : element decl. '{http://schemas.radiodns.org/epg/11}genre', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}genreType' does not resolve to a(n) type definition.
radioepg_xsi_11.xsd:63: element element: Schemas parser error : element decl. '{http://schemas.radiodns.org/epg/11}keywords', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}keywordsType' does not resolve to a(n) type definition.
radioepg_xsi_11.xsd:64: element element: Schemas parser error : element decl. '{http://schemas.radiodns.org/epg/11}link', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}linkType' does not resolve to a(n) type definition.
radioepg_xsi_11.xsd:100: element group: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}group', attribute 'ref': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}serviceNameGroup' does not resolve to a(n) model group definition.
radioepg_xsi_11.xsd:102: element element: Schemas parser error : element decl. '{http://schemas.radiodns.org/epg/11}mediaDescription', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}mediaDescriptionType' does not resolve to a(n) type definition.
radioepg_xsi_11.xsd:104: element element: Schemas parser error : element decl. '{http://schemas.radiodns.org/epg/11}genre', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}genreType' does not resolve to a(n) type definition.
radioepg_xsi_11.xsd:106: element element: Schemas parser error : element decl. '{http://schemas.radiodns.org/epg/11}keywords', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}keywordsType' does not resolve to a(n) type definition.
radioepg_xsi_11.xsd:107: element element: Schemas parser error : element decl. '{http://schemas.radiodns.org/epg/11}link', attribute 'type': The QName value '{http://www.worlddab.org/schemas/epgDataTypes/14}linkType' does not resolve to a(n) type definition.
WXS schema radioepg_xsi_11.xsd failed to compile
@njh
Copy link
Author

njh commented Dec 21, 2017

Attaching XSI.xml and SI.xml as a zip file.
si-and-xsi.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant