Quoting Thakur Thribhuvan [EMAIL PROTECTED]:
Hi Thakur,
You have some problems with schema design. The Schema you write isn't valid.
You can't use the attribute base directly in a complexType.
When you want to create a complexType from a simple Type you have to use:
complexType name=Type
Title: RE: Recursive DTD error
No, your DTD isn't correct, though the erroir is a bit weird.
Mixed content (ie, with #PCDATA) must be declared as an unbounded choice, with #PCDATA first:
!ELEMENT attribute_list( #PCDATA | class | attribute )*
and so on.
If name must ONLY appear one
Hi Joan,
Thank you for your reply. But the Xerces Parser 1.3.1 uses
'http://www.w3.org/2000/10/XMLSchema' (candidate recommendation) and hence
the parser doesn't recognize extension as the direct child of
simpleContent. This is the error I get, [Error] account.xml:4:54:
Schema error: ComplexType
Title: schemaLocation without using absolute path
Does anyone know how I could allow the validation to work if my first xsd include a second xsd without specifying the absolute path of the second.xsd such as
xsd:include schemaLocation=file:///c:/temp/second.xsd/ ?
Below is the example. A
Hi!
Does anyone out there know how to dynamically set the expected location of a
schema file before/during parsing XML? I have the following schemaLocation
directive as part of some XML:
MyTag xmlns=MyNamespace
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=MyNamespace