Apologies, the error was entirely my fault. I had inadvertently restored an
older Xerces.
Cliff Rowley
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Greetings to all
I am currently trying to validate a document against a specific Schema,
regardless of any DTD or schema specified in the document. Apparently this
is possible by setting the property
'http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation'
(according to http:/
From: <[EMAIL PROTECTED]>
>
> Given[snip]
>
>
>
>
> Parsing the document and iterating through the nodes, I noticed that the
> element nodes and do not have have
> child text nodes. Is there a reason for this or is this a bug?
Why would they? They don't have
I am trying to validate a schema for which I do not have a minimally valid
instance. I have pulled xmlSchema.xml, xmlSchema.dtd and datatypes.dtd down
from the w3 site and stashed them locally. It seems to me that I should be
able to edit the schema document root attributes to include
xmlns:xsi="h
Thanks Elena, but the I don't see set methods in the DocumentType
interface. Also, the 'value' property of a DocumentType node is null.
Is there a way to set the internal subset for a DOCUMENT_TYPE_NODE?
Thanks Again,
Sriram
At 04:40 PM 8/16/01 -0400, you wrote:
Sriram,
> When deep cloning a DOCU
Given a xml document of general form:
Parsing the document and iterating through the nodes, I noticed
Hi there,
Well on closer inspection perhaps there are only features for multiple
attribute defs and for undeclared element decls. Hopefully these will be
sufficient for your needs.
Cheers,
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone: 416-448-3519, T/L 778-3519
E-mail: [EMAIL
Hi Jean-Guillaume,
> - an XML processor may issue a warning when a declaration mentions an
element type for which no >declaration is provided, but this is not an
error.
The feature
http://apache.org/xml/features/validation/warn-on-undeclared-elemdef
which defaults to false, controls this. Take a
Sriram,
> When deep cloning a DOCUMENT_NODE (of a DOM created using Xerces parser), I
> loose the 'internal subset' property of its DOCUMENT_TYPE_NODE child. That
> is, docType.getInternalSubset() (where docType is of type
> DOCUMENT_TYPE_NODE) returns null. This method however returns the correct
Hi,
When deep cloning a DOCUMENT_NODE (of a DOM created using Xerces parser), I
loose the 'internal subset' property of its DOCUMENT_TYPE_NODE child. That
is, docType.getInternalSubset() (where docType is of type
DOCUMENT_TYPE_NODE) returns null. This method however returns the correct
internal
Hi,
I have one problem I can't resolve... I have a C++ client calling Java
servlet. The result of my servlet is an XML document made with Xerces
1.2.2. I serialise it with an XMLSerializer.
Everything is OK, but when I try to load the XML file with the loa
Hi. I'm using the SAXParser implemented in Xerces 2.0 Beta. In the XML specification, I read that a parser "may" issue warnings when one of the following is encountered : - an XML processor may issue a warning when a declaration mentions an element type for which no declaration is provided, but thi
From: "Andy Clark" <[EMAIL PROTECTED]>
> Elena Litani wrote:
> > This is interesting.. DOM L2 states that doctype is readonly:
> > "...The DOM Level 2 does not support editing the Document Type
> > Declaration. docType cannot be altered in any way, including through the
> > use of methods inherited
Han Ming Ong wrote:
> I have searched the Xerces FAQ and read the document but am
> wondering if there is a way I specify the encoding of an XML fragment
> before the Xerces parser does its job? The usual way is of course to
> specify the encoding the XML declaration of a proper XML documen
Elena Litani wrote:
> This is interesting.. DOM L2 states that doctype is readonly:
> "...The DOM Level 2 does not support editing the Document Type
> Declaration. docType cannot be altered in any way, including through the
> use of methods inherited from the Node interface, such as insertNode or
>
15 matches
Mail list logo