I'm trying to create an empty doctype that looks like:
...but all I can manage to create is:
using DOMImplementation.createDocumentType ().
Is is possible to create a 'SYSTEM' doctype like this, or can you only
create 'PUBLIC' doctypes with DOMImplementation?
Thank you for your help,
Brion
Dear All,
I have recently started to experiment with Schema and Xerces. When I
parse (with sax.SAXCount) the instance document (see below), the
following error message is given:
[Error] foo.xml:6.2: Schema error: prefix : [] can not be resolved to a
URI.
foo.xml: 1870 ms (3 elems, 3 attrs, 16 pac
Alex is exactly right, of course. I was able to get
schema support out of Xerces using the JAXP API, as he
recommended.
However, I did finally figure out how to get schema
support out of the Xerces API without using JAXP.
There are four features that must be set to true:
http://apache.org/xml/
Alex Neth wrote:
>
> I don't use the DOMParser class. What is the purpose of this class?
> I use the following method to parse the document:
>
>DocumentBuilderFactory docFactory =
> DocumentBuilderFactory.newInstance();
As someone else mentioned (Ian Roberts) on this thread, JAXP is an XML
Hi Karl,
This sounds like a bug that keeps getting reported once or twice a week
which was fixed shortly after 1.3.0 was released. Could you try extracting
and building the latest code from CVS and test that to see if it solves
your problem?
Thanks,
Neil
Neil Graham
XML Parser Development
IBM
sorry, wrong thread.
> -Original Message-
> From: Karl Scheibelhofer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 27, 2001 9:15 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: xsd validation
>
>
> no, i have checked it once again. there is no older xerces in the
> cl
no, i have checked it once again. there is no older xerces in the classpath.
please note, this is not a simple validation problem. the original file
ExaminationCertificationData_unsigned_0001.xml validates, but the import of
its root element into another new document does not handle the attributes
OK, you seem to have the same problem than the one discussed yesterday. Are
you sure using the xerces 1.3.0 release? If this is the case, it's possible
that you have the reference to an old xerces.jar in which the method
startElement is not implemented. To control it make sure the FIRST
xerces.
the new Xerces 1.3.0 seems to introduce a new bug with handling attributes,
when importing elements from other documents. if i (deep) import an element
with attributes, xerces 1.3.0 messes up the attributes of the newly imported
node. with the version 1.2.1, it worked.
i use sun jdk 1.3.0.
i attach
Hello,
I am trying to serialize an XHTML dom tree using the
XHTMLSerializer. Everything works great except for script tags. The
serializer does not wrap the text of the script tags with the CDATA
escaping, instead it escapes the text (changes '<' to '<' ..)
I have tried using t
10 matches
Mail list logo