Hi,On 9/14/05, Kasimier Buchcik [EMAIL PROTECTED] wrote:
Hi,On Wed, 2005-09-14 at 16:54 +0200, Kasimier Buchcik wrote: Hi,[...] But please avoid using direct access to the structure members of the schema components. Some of the fields of those structures are obsolete
for historical reasons; plus
Hi,On 9/13/05, Kasimier Buchcik [EMAIL PROTECTED] wrote:
Hi,On Thu, 2005-08-18 at 18:58 +0200, GUY Fabrice wrote: [EMAIL PROTECTED]:/data/home/kbuchcik/gnomecvs/tests$ xmllint --noout --schema keyref.xsd keyref.xml keyref.xml:6: Schemas validity error : Element 'element2': No match
found
[EMAIL PROTECTED]:/data/home/kbuchcik/gnomecvs/tests$ xmllint --noout --schema
keyref.xsd keyref.xml
keyref.xml:6: Schemas validity error : Element 'element2': No match
found for key-sequence ['test'] of key reference 'keyref'.
keyref.xml fails to validate
Is the output OK for you?
I
maybe the line of the reference can be saved at the same time of the
value, that's what I did for ID in DTD validation when streaming. And
it is sufficient for the error report you don't need to keep a pointer
to the node.
For error report it is sufficient, but I suppose that for error
Hi,
I have this schema :
?xml version=1.0 encoding=ISO-8859-1?
xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema;
xsd:element name=element type=xsd:token/
/xsd:schema
And for example the xml file :
?xml version=1.0 encoding=ISO-8859-1?
element test/element
And with xmllint (version
Hi,
I don't know if it's in the TODO list or if it's a bug, but IDREF (and
IDREFS) are not validated using xmlSchema or RelaxNG : if an IDREF
attribute has a value which is not carried by an ID attribute, the
document still validates.
I can provide a test case if you want some.
Regards,
On Fri, 18 Mar 2005 07:07:07 -0500, Daniel Veillard [EMAIL PROTECTED] wrote:
On Fri, Mar 18, 2005 at 12:57:14PM +0100, GUY Fabrice wrote:
Hi,
I don't know if it's in the TODO list or if it's a bug, but IDREF (and
IDREFS) are not validated using xmlSchema or RelaxNG : if an IDREF
Hi,
I'm using libxml2-2.6.18 (and test case provided with it) and have
some question about element content type in xml Schemas:
- if I try testSchemas --debug empty_0.xsd then the content of both
complex type are empty which seems OK
- but if I try testSchemas --debug empty_1.xsd then the