
I have also noticed that all of the generated namespaces include:
xmlns:xml="http://www.w3.org/XML/1998/namespace"
Both the crimson parser + IE barf on the use of "xml" as a ns prefix. I think it's actually a bug in crimson.
Can the prefix be changed rather than waiting for for patches from several companies. Crimson and IE are very popular, so this could be a significant issue.
Steve
-----Original Message----- From: Frank Strauss [mailto:strauss@ibr.cs.tu-bs.de] Sent: Wednesday, October 23, 2002 11:47 AM To: Steve Bucknam Cc: libsmi@ibr.cs.tu-bs.de Subject: Re: [libsmi] xsd output
Hi!
Steve> I am generating the xsd for the version of RCF1213 retrieved from
Steve> mibcentral. I get no errors or warnings, yet "ifTable" has no Steve> entry. The "ifEntry" is present and contains the sequence of OIDs
Steve> that should appear under "IfEntry". "IfEntry" is also missing.
Steve> Is this a design feature to minimize unnecessary nodes, or a bug?
Well, RFC 1213 is a bug. :-)
We don't care a lot about obsolete SMIv1 MIBs. The ifTable is defined in the current Standards Track version of the IF-MIB which is published in RFC 2863.
If you use the IF-MIB (it also comes with libsmi), then `smilint -f xsd' should produce a better result.
-frank

Hi!
Steve> I have also noticed that all of the generated namespaces include: Steve> xmlns:xml="http://www.w3.org/XML/1998/namespace"
Steve> Both the crimson parser + IE barf on the use of "xml" as a ns Steve> prefix. I think it's actually a bug in crimson.
Steve> Can the prefix be changed rather than waiting for for patches Steve> from several companies. Crimson and IE are very popular, so Steve> this could be a significant issue.
Using the namespace prefix "xml" is intentional. The solution is to remove the generation of `xmlns:xml=...' definition. The xml namespace prefix is defined implicitly. I found the following message in response to this problem:
http://lists.w3.org/Archives/Public/xmlschema-dev/2002Jun/0169.html
Torsten, could you please modify dump-xsd.c accordingly?
-frank

Hi!
On Wed, Oct 23, 2002 at 08:29:28PM +0200, Frank Strauss wrote:
Steve> I have also noticed that all of the generated namespaces include: Steve> xmlns:xml="http://www.w3.org/XML/1998/namespace"
Steve> Both the crimson parser + IE barf on the use of "xml" as a ns Steve> prefix. I think it's actually a bug in crimson.
Steve> Can the prefix be changed rather than waiting for for patches Steve> from several companies. Crimson and IE are very popular, so Steve> this could be a significant issue.
Using the namespace prefix "xml" is intentional. The solution is to remove the generation of `xmlns:xml=...' definition. The xml namespace prefix is defined implicitly. I found the following message in response to this problem:
http://lists.w3.org/Archives/Public/xmlschema-dev/2002Jun/0169.html
Torsten, could you please modify dump-xsd.c accordingly?
Done.
Regards, Torsten
participants (3)
-
Frank Strauss
-
Steve Bucknam
-
Torsten Klie