"Invalid encoding name" error when importing saml

This should cover W3C XML Schema, Relax NG and DTD related problems.
jboeuf
Posts: 1
Joined: Thu Jul 28, 2005 8:39 pm

"Invalid encoding name" error when importing saml

Post by jboeuf » Thu Jul 28, 2005 9:08 pm

Hi,

I get an "Invalid encoding name" error whenever I import the saml 1.0 schema. Here's an example:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:foo:bar"
xmlns="urn:foo:bar"
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">

<xs:import namespace="urn:oasis:names:tc:SAML:1.0:assertion" schemaLocation="http://www.oasis-open.org/committees/download.php/3408/oasis-sstc-saml-schema-assertion-1.1.xsd"/>

<xs:complexType name="FooType">
<xs:sequence>
<xs:element ref="saml:Assertion"/>
</xs:sequence>
</xs:complexType>

<xs:element name="Foo" type="FooType"/>
</xs:schema>
Are you able to reproduce the problem? The saml schema itself validates OK...

Thanks,

Julien.

PS I use Oxygen 6.1 for windows, build 2005072105. I have the same problem with the eclipse plugin

george
Site Admin
Posts: 2101
Joined: Thu Jan 09, 2003 2:58 pm

Post by george » Fri Jul 29, 2005 7:39 pm

I responded to this on the oxygen-user list:
http://www.oxygenxml.com/pipermail/oxyg ... 00536.html

Regards,
George

Post Reply