We're using Xerces 1.3
-Original Message-
From: Elena Litani [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 07:59
To: [EMAIL PROTECTED]
Subject: Re: getChildNode() not finding Elements with numeric suffixes
Charles Hudak wrote:
>
>This is fubar
>This is also fubar
Title: RE: No Grammar Found Messages
Hi Jeff,
Some more details...
I'm using an xsi:schemaLocation attribute set on the root element of the document. The location is an external reference to an HTTP server where the document is being stored.
= Begin XML Snippet =
xmlns="http
Hi Rick,
How do you bind your document instances to the Schemas? Are you using a
noNamespaceSchemaLocation or SchemaLocation?
Can you append at least a the first few line of your instance document?
More details would also help, are you validating? etc,
Regards,
Jeffrey Rodri
Title: No Grammar Found Messages
Hello Everyone,
I'm having some trouble validating against an XSD in Xerces-J 2.5. These are the errors encountered during parsing.
[Line 2, Column 22] Document is invalid: no grammar found.
[Line 2, Column 22] Document root element "Book", must match DOCT
> I need to validate an element aganist schema rather than the
> whole document.
Currently, it is not possible to revalidate a singe element within the
DOM tree.
The best way of achieving what you want is using DOM Level 3
normalizeDocument that allows to revalidate a document in memory [1].
You
Hi,
I am using the latest Xerces API from Apache. I create a document and then
create some elements and set some attributes by using
Document.createElementNS() method and Element.setAttributeNS(). Now when I
try to access an attribute value from one of the element using
Element.getAttributeNS() me
Hi Stefano,
Stefano Zacchiroli wrote:
> It seems to me that the following isn't possible with the xerces API, am
> I wrong?
>
> I would like, for example, to validate a document like:
>
> 1999-05-31-05:00
>
> against an XML Schema that states that the "date" element should have
> type xsd:dat
[EMAIL PROTECTED] wrote:
> I get some strange things when I try to parse the next XML with the Xerces
> parser:
>
> &
>
> The result is & (just the same) instead of &.
The '<' and '&' characters must be escaped in character data using
predefined entities [1].
What do you mean by "the result"?
Charles Hudak wrote:
>
>This is fubar
>This is also fubar
>This is some bad data
>
>
> The problem is when we get a handle to the foo Node and call
> getChildNodes(), the last node does not show up in the child node list.
This is very strange. What version [1] of the parser are you
Yasir Khan wrote:
> Writer writer = new Writer();/*Writer is the class provided in
> Xerces DOM Samples*/
By definition, createElementNS [1] method only creates an element and
never creates a corresponding namespace declaration. Given that neither
Writer nor org.apache.xml.serialize.XMLSe
Hello everybody,
I get some strange things when I try to parse the next XML with the Xerces
parser:
&
The result is & (just the same) instead of &.
The strange thing is that if I try to parse for example
&
or
&
I get the correct results: & &
Is this some kind of bug ?? or is it a known iss
11 matches
Mail list logo