  | |  | Xerces |
Hi
I am using xerces to try to insert xml into the certain node in the DOM
which satisfies some xpath expression. The simple structure of my original
xml is like
<root >
<A > <B >10 </B > </A >
<AHello
I was wondering if it is possible to differentiate in Xerces-J between <element > </element > and <element/ >?
>From what I see Xerces-J expands <element/ > to <element > </element >.
Thanks
RoHello
I 'm using SAX to implement a data layer which permits object serialization across Java and C++. Without going into the library which does the grunt work I 'd like to describe a problem I 'm facI am parsing my XML files and every other value between elements is of
type TEXT (#text) with a blank value. I did not see this using the Sun XML
Parser. So I used the TreeWalkerView example in thWe are moving over from the Sun XML package. We were using the
com.sun.xml.tree.XmlDocument.getSystemId() to retrieve the URI of the
document we are working on. I can not find a similar function in HI!
I am trying to provide a schema for a node not for the whole document.
Xerces 2.4.0 does not report a schema error in this case.
Example
book.xsd
<xs schema targetNamespace "bookns " xmlns aHello all
I 'm having some serious trouble just getting Xerces to compile programs. I 'm using the newest version of Java and also the newest version of Xerces. I compile Xerces from source by firI 'm rather stuck here and am wondering if I 'm trying to do something
invalid or what. This schema and instance document validate with xsv but
not with Xerces (2.5.0). Attached are the instance and
Hi
I am experimenting how to append a piece of xml into an existing xml using
DOM. My code is like
DocumentBuilder parser factory.newDocumentBuilder()
InputSource in new InputSource(xmlFiHello everybody
Sorry if this has been covered in previous threads.
I am trying to gather information about all element
ans its type for XML Schema against which XML Document
is validated. I am usiHello
I have my elements like
<Element >
<attribute name "First " >FirstAtt </attribute >
<attribute name "Second " >SecondAtt </attribute >
</Element >
Hello
Forgive me if this has been mentioned before in another thread...
I am running into a StackOverflowError when attempting to serialize a large XML document (10000+ nodes with a height of 1000Using Xerces-J version 2.5.0 I am running into a problem where a relative
SYSTEM entity reference seems to be attempted to be resolved to the current
directory (and fails) rather than to the locatHi
Here is my problem which seems very strange ....
I use xerces 2 to check a xml with a schema where there is this inclusion
<xsd include schemaLocation "schema2.xsd "/ >
It works well when I testHello
when I try to parse a.xml I 'll get this exception
[Fatal Error] a.xml 8 44 A 'include ' element cannot be a child of an
include element.
Ivan
file a.xml
<?xml version "1.0 "? >
<a xmlns I am deploying a parsing app to a servlet server on which
I have minimal control over jars in the classpath. I suspect
that my servlet is picking up old parser implementations
before the Xerces 2.5.0Hello!
I 'm quite new to the xerces and java environment and would really appreciate
any help i can get!
I 'm developing an application to analyse the internal content of XML
documents and DTDs. i 'm uWill xerces support channel in NIO? i.e. it parses a file from a channel
instead of an input stream? If not does anyone know if there is a xml
parser supports nio?
Thanks.
<!DOCTYPE HTML PUBLIC "-/Hello everyone
I am using xerces 1.4 sax parser to validate a xml document base on a
schema. In the schema there are some attributes defined as optional and have default
value. After parsing theHas anyone out there been able to successfully use
schema validation in Xerces running code as a servlet
under JRun?
Pls. reply off list if yes.
Thanks
Sean
Is there a way to get the values of the schema attributes
"elementFormDefault " and "attributeFormDefault " from XSModel?
XSModel.getComponents(...) returns "top-level " components but these are
foHello
How can I enable XInclude processing through my program and not at run
time?
The current method to enable XInclude is at run time
java -Dorg.apache.xerces.xni.parser.XMLParserConfiguration MyHello
Can I use XInclude recursively? If not then what is the possible
solution to use XInclude recursively.
Thank you.
Prapti
Hello all
my application is in need of a document-wide unique node-id for every node
in a DOM tree. These ids should be persistent i.e. uniquely exist as long
as the document existst and not as loHi
I have a web application that caches DOMs (for site navigation page layout
etc..) internally.
I am having problems with exceptions being thrown from within
org.apache.xerces.dom.DeferredDocume
Hello all
I was wondering what classes currently use the DOMImplementation class in the
current working draft of DOM3. My thoughts are that the DOMImplementation would
describe an user implementatHello
I 'm having a problem with the importNode() function...I 'm calling it with the "deep " option set and but I 'm finding ?that for some of the nested children the attribute values aren 't being coI am trying to import the XMLSchema itself to allow users to identify their own data types.
> Hi
(first post be pacient please)
We 're trying to parse a big xml file (about 175 MB)
The xml it 's a database table the problem is that reads wrong some
fields for example
in xml
<DDFECH_INGSI >20We are getting periodic NullPointerExceptions while parsing documents. Here is the relevant parts of the stack trace. Has anyone run into a similar problem and know how to solve it?
Thanks
Craig
j |
|
 |