You or I must have typed it in wrong. Either way that exception is
being thrown because the parser isn't recognizing the feature:
An XMLReader will throw this exception when it finds an unrecognized
feature or property identifier; SAX applications and extensions may use
this class for other, sim
Hi Eric,
What version of Xerces are you using? A number of serializer bugs have
been fixed recently, so it might pay to do a CVS extract to obtain the most
recent code. (Or you can obtain recent jars from http://gump.covalent.net,
if I have the URL correct.)
Cheers,
Neil
Neil Graham
XML Parser
Hi Andy,
(B
(BFWIW, I think you're analysis is entirely correct and I've been meaning to
(Blook into this for the last couple of months--ever since I put down the
(BrewindableInputStream. :-) It's just that other things kept rising higher
(Bon my priority queue, and for some reason I had tho
If I build a document from scratch using a DocumentBuilder and then
serialize it out, it seems to not do any validation. I'm able to create a
completely invalid document, even with validation turned on. I'm using XML
schema ather than a DTD, if that matters, and creating the association with
the do
I'm building a Document using Xerces2.0.0 with a DocumentBuilder. I want
the resultant document to have the proper attributes for XML schema
location, namespace, etc. Not knowing any other way to do it, I'm just
calling setAttribute on the root Element for "xmlns", "xmlns:xsi" and
"xsi:schemaLocat
Hi all,
Is there any easy way to get DTDGrammar from parser after XML Document was
parsed? Thank you
Tomas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I have questions about the syntax of schema:
I want to write a schema for the purchaseOrder example with conditions: (1)
shipTo, comment, items can appear in any order under purchaseOrder; (2)
name, street, city, state, zip can appear in any order under shipTo; (3)
itemQuantity, item can app
HI!
What's the recommended way to implement a toString() method for an xml node?
Currently, I do:
StreamResult streamResult;
Transformer transformer;
String result;
streamResult = new StreamResult(new StringWriter());
transformer = TransformerFactory.newInstance().newTransformer();
HI!
If I set the attribute "http://apache.org/xml/features/validation/dynamic"; to
true with Xerces 2.0.0, then I can load an XSLT document without warning (it
cannot find the XSLT schema). Using the current build, this generates a
warning. Which version of Xerces is doing it right? Is there su
thank you Laura, the validation feature is set to true. if i want to set the
other feature, i get an exception:
org.xml.sax.SAXNotRecognizedException:
http://apache.org/xml/features/validation/schema-full-checking
i don't know why it throws the exception. is there a certain property i must
set ad
Thomas Börkel wrote:
> Clearly, the XML is damaged. And it's not the Transformer's
> fault, because if you iterate through the DOM, you see that
> the 2nd CDATA node really has the wrong data.
>
> Anyone any idea, please? Am I doing something wrong?
This looks like a bug in Xerces 2.0.0. But th
Andy Clark wrote:
>
> Edwin,
>
> Luke Deller wrote:
> > (2) org.apache.xerces.util.ObjectFactory doesn't work in an applet because
> > it tries to use "Thread.getContextClassLoader" without gracefully
> > degrading to use the default classloader if a security exception is
> > thrown. I get an "I
12 matches
Mail list logo