  | |  | Xerces | Hi
XML File
---------
<?xml version "1.0 " encoding "UTF-8 "? >
<!DOCTYPE personnel SYSTEM "personal.dtd " >
<personnel >
<person id "Big.Boss " >
<name > <family >Boss </family >
<given >Big </given > </nameHi!
Is the following a known bug in Xerces 2.5.0 and 2.6.0?
There is no validation when I use InputSource to give the XML to the parser and set the property for the external schema.
Only well-formednHi
Sounds good. While you 're up could you have your utility class
implement EntityResolver as well so it can be used at the SAX level?
Bob Foster
http //xmlbuddy.com/
Michael Glavassevich wrotHello all
Last week I asked for an explanation regarding Xerces behavior parsing XML
files. I was able to hide the issue by tweaking the server 's locale
settings but the problem still exists in anI am using xerces 2.2.1 and J2SDK1.4.1_02 for validating XML files. I am
getting NullPointerException at
org.apache.xerces.impl.dtd.XMLDTDValidator.ValidateDTDAttribute(XMLDTDValidator.java 2358).
Hello!
I have two questions
(1) I want to preserve comments in the following lines but it does not
work comments are still removed.
memoryxml.reset()
try {
InputSouIn the upcoming release of Xerces-J we are going to be including OASIS XML
Catalog [1] support which will allow users to resolve locations for their
schemas (using their target namespaces) DTDs andI would like to be able to trap and handle various types of SAXParseException differently. Primarily I would like to be able to trap the following
org.xml.sax.SAXParseException An invalid XML chHi
I have problem with SAX bit of Xerces. I use SAX to get lines of an element
of specified tag and print them out.
I was using older version of Xerces with which it run fine. When I replaced
old xerHi
Any way(s) to prevent/disable buffering in Xerces2?
Similar to Xerces1 "read data from a stream as it arrives " functionality where parser.setReaderFactory(new StreamingCharFactory()) and so Hello Xerces experts I am writing an application that needs to cache
grammars for performance reasons. When I try to use a grammar pool for DTD
validation the parser repeats its first-document behasorry my mail client has broken my original mail a bit....once again
Hello.
I 'm very confused and need some help.
I have a main xml document which consists of an external DTD reference.
AdditioHello.
I\\\\\\\ 'm a very confused and need some help.
I have a main xml document which consists of an external DTD reference. Additionally a second XML file contains a XML snippet to be included inOn January 14 2004 03 34 pm Bob Foster wrote
>
> Of course not. The default encoding is UTF-8. An erroneous encoding
> declaration won 't make things better. I mean specify the actual encoding.
>
II am experiencing a discrepancy running my application on two different
servers and I was hoping someone here could give me an idea of what to look
for.
I have implemented the ContentHandler interfaHello Xerces users
When parsing an xml element such as
<pr elem pr attr "value " xmlns pr "some-uri " / >
With schema validation enabled Xerces throws
Fatal cvc-complex-type.3.2.2 Attribute "pr With help from subscribers to this news group I 've been able to create a DOM parser that reads from a text xml file.
I need to migrate that into a parser that reads XML that is already in a buffer rElena
I 'm developing an application for palmtops and the VMs compatible with
palms support only JDK 1.1.
I 'm using Xerces 2.5 and I use DOM with the PSVI document
implementation.
Ruben
I would like to propose to drop JDK 1.1 support in the upcoming Xerces2
release (end of January).
As you know each new level of JDK provides better performance and includes
more functionality sAfter a lot of frustration and help from subscribers on this users group I finally have a parser that functions dependably.
Next question. Is there an example in the Xerces samples that shows how toI downloaded XercesJ 2.6.0 source stuffed it in an Eclipse project and
built it with jre 1.4.2_01. Three files have errors
HTMLFrameElementImpl.java HTMLIFrameElementImpl.java and
HTMLObjectElemHi
I have a simple question. I have created XMLDocument and loaded into DOM.
How to validate it against loaded XSSchema?
Or validation is enabled only during a document load?
Thanks for any hints.
Hi everybody
I have XML and XS schema. Let 's assume that the validated XML is valid XML
(well formed). But there are XS validation errors like theese
[Error] test.xml 10 25 cvc-pattern-valid Value
Hi there
If I have a document like
<!DOCTYPE test SYSTEM "test.dtd " >
<test/ >
and a DTD like
<!ELEMENT test EMPTY >
<!ELEMENT illegal_decl (some none existing element names) >
is it pHi again!
Found the error I need to memoryxml.reset() before parsing since the
stream was at the end position.
Now works fine!
Thanks again!
Thomas wrote
> Thanks Michael!
>
> I created a dHello!
I have written the following small method to check if a memory xml
stream is well-formed
public void parse(ByteArrayInputStream memoryxml) {
try {
InputSource input
Hi all
Since new API 's affect users as well as developers I thought this
development worthy of being brought to the attention of both parts of the
community.
The public review documents of JAOne of the complexTypes in my schema as below
<xsd complexType name "ExtendedDataElementType " >
<xsd sequence >
<xsd choice >
<xsd element maxOccurs "unbounded " minOccurs "0 " name "values " >
I 'll try this again as I didn 't get an answer to the main question last time. (Probably lost in the holidays...)
Thanks
Thomas Cox
> -----Original Message-----
> From Thomas Cox [mailto Thomas.CoThis works fine.
Thanks
Dirk
> -----Urspr�ngliche Nachricht-----
> Von Reinhard Brandst�dter [mailto r.brandstaedter@(protected)]
> Gesendet Montag 5. Januar 2004 16 11
> An xerces-j-user@(protected) |
|
 |