Hello,
Is there any way I can descibe Elements in DTD, where its child elements SHOULD
BE present but can
arrive in any arbitary order.
I cant use ANY as that will allow some undesired elements to come through.
For eg.,
Or is this where XMLSchema has an upper hand.
And help is appreciated
- Original Message -
From: "Brian K. Buckley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 5:25 PM
Subject: Re: Editor for Schema Design
> I found a number of inconsistencies in validation between XML Spy and
> xerces 1.3 even though they are both attempting
- Original Message -
From: "K. Ari Krupnikov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 2:24 PM
Subject: Re: Is recursive definition of elements allowed in dtd?
> S Uma wrote:
> >
> > Hi,
> >
> > I am just wondering if a dtd can have recursive definition
Title: RE: Validation error (restriction)
Lisa,
Thanks for your reply. This is really only one of the aspects of the restriction issue which I find a little bit unclear. As far as the Spec part 0 is concerned, you do a restriction on a complex type in a schema by copying the exact contents a
Hi,
The problem below is interesting.A few of us were discussing this, and
we're not sure what the spec intended. There are some interesting
variations such as :
- the anonymous type for the attribute in the base is the same as the
anonymous type for the attribute in the restriction,
Title: validating without specifying DTD in the XML
Hi,
I want to validate some xml instances on the fly, these xml instances do not have appropriate DTD specified,
but I have those DTDs in my local system. could anybody tell me if it can be done with Xerces? how? any samples?
really appre
Title: RE: Validation error (restriction)
Hi,
Maybe you can help. I am having validation problems, but doing restrictions. When validating one of the standard examples from Part 0 of the spec using the IBM schema checker, I get the error below:
--
Hi,
The reason we emit the error is as follows -
- for derivation by extension, the set of attributes for a complexType
is obtained by doing a union of the attribute declarations in the base
and those specified as children in the extension (loosely speaking -
I'm paraphrasing somewha
For whatever reason, xalan (of unknow version) which was ahead of my xerces.jar
in my cpath was cause the attributes to be grafted from the src tree to the
destination tree without there values. I presume there is some dup class in
xalan.jar that was overriding the xerces version - and this dup ha
Hi Fred,
Could you also post your code and xml files so that we can reproduce this
problem and, hopefully, solve it?
Are you using "DeferredDocumentImpl"? I tried "DocumentImpl", and the
attribute values seem to be imported (latest Xerces from CVS).
Cheers,
Sandy Gao
Software Developer, IBM Cana
Title: RE: Editor for Schema Design
I had problems using xerces 1.4. Mainly with extending types.
Spy validated my XML fine but Xerces output an error.
-Original Message-
From: Brian K. Buckley [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 10:25 AM
To: [EMAIL PROTECTED]
> I have the same problem. I am hoping that XMLSpy will come up with
> support soon. Does anyone happen know what the plans for the next beta
> of XMLSpy will be and when we will have access to it ?
I found a number of inconsistencies in validation between XML Spy and
xerces 1.3 even though they
If you want to continue using XMLSpy change the schema decl to 200010. if
you are not using any of the new/uodated schema features this is a work
around. once the schema has been created, change the schema decl back to
2001 so that xerces works fine.
regards
Sire
Christopher Knorr <[EMAIL PROTE
I have outstanding emails into both TIBCO Extensibility and XMLSpy. If they
send me any useful information about beta releases or future support plans
for Schema I will post them here.
Christopher Knorr
--
On Tue, 5 Jun 2001 08:20:41 -0700 "
Christopher,
Off the top of my head, no, I can't think of one that I know for sure
supports it, though you might try XML Authority. However, I have been a
user of XMLSpy for almost two years now, and I would expect a new release
that supports this recommendation fairly quickly. They are pretty a
Title: RE: Editor for Schema Design
I have the same problem. I am hoping that XMLSpy will come up with support soon. Does anyone happen know what the plans for the next beta of XMLSpy will be and when we will have access to it ?
-Original Message-
From: Christopher Knorr [mailto:[EMA
I have been using XMLSpy 3.5 to develop new Schema and XML files for the
last few months. With the latest release of Xerces and the WC3 20010502
recommendation I am now without a graphical editor. I would like to know if
anyone can recommend a good graphical or non graphical editor for designing
Sc
Then it's possible (although I thought this was fixed in 1.3.1 (or
something)) that 1.4.0 has regressed. I know I've heard a few other
complaints on the dev mailing list for Xerces about 1.4.0 having regressed
in other areas.
I might suggest trying to extract the last version of 1.3.x from CVS an
Actually,
my previous message was a bit incorrect. importNode does copy the attributes
but the values are not coming over just "".
I just grabbed xercer 1.4.0that does the same thing
HELP
-Fred
"Swanson, Brion" wrote:
> This was fixed in a patch. You might check the latest rel
Hi Fred,
Hmmm... can't think of anything to fix that. It should be OK. The API
specifies:
For all nodes, importing a node creates a node object owned by the importing
document, with attribute values identical to the source node's nodeName and
nodeType, plus the attributes related to namespaces (pr
This was fixed in a patch. You might check the latest release (I don't know
if it had the change), but it's certainly in CVS for the taking.
Brion Swanson
-Original Message-
From: Fred Welland [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 05, 2001 10:23 AM
To: [EMAIL PROTECTED]
Cc: [EMAI
Hi all,
If I try set p.CreateEntityReferenceNodes(true), I get an error stating
that the method is not found in the DOMParser class.(p is the working
DOMparser inst.).
If I try p.CreateEntityReferenceNodes(1), the compiler complains that it
cannot convert 1 to a boolen. So, now it seems that it
Hi Jonathon,
That more or less worked. In my previous attempts with importNode - I was
doing the import but really not adding it to the doc (ala appendChild)...
HOWEVER, my attirubutes are not coming from the subtree into the main
tree...Any ideas on this one...
Thanks for your help.
-Fred
[E
Hi Fred,
the DOM API specifies that importNode returns a Node itself. I had
exactly the same problem as you...
Try appending the imported node like this:
rootElement.appendChild(rootDocument.importNode(snippetElement,
true));
The 'true' argument is for dee
At Tuesday 6/5/01 02:24 PM, you wrote:
S Uma wrote:
>
> Hi,
>
> I am just wondering if a dtd can have recursive definitions?
>
> i.e.
Yes. Example: sections can have subsections:
now you can nest (sub)sections as many times you need!
>
> If it is valid syntactically, are there any advantages of d
S Uma wrote:
>
> Hi,
>
> I am just wondering if a dtd can have recursive definitions?
>
> i.e.
>
> If it is valid syntactically, are there any advantages of defining
> elements recursively? To me ,it is confusing to have elements defined
> recursively.
>
> Does anyone know of a situation wher
Useing: Xerces J 1.3.0, a variety of Java 2 JDKs (win, solaris, linux,
all some flavor of jdk 1.3)
I am building a DOM tree, and need to read an attribute from a DB row
that stores a small snippet of XML. I get this snippet and make small
DOM tree just fine. Now I need to graft this small 'sub
Hi,
I am just wondering if a dtd can have recursive definitions?
i.e.
If it is valid syntactically, are there any advantages of defining
elements recursively? To me ,it is confusing to have elements defined
recursively.
Does anyone know of a situation where it is really helpful ? or should
the
Hi,
I've been trying to use import under Xerces 1.4.0, but I've been unable to
get it to work. Does it work? Are there any samples of .xsd and .xml files
using import.
Thanks!
/Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Hi.
> > valuable comments, however, couldn't one adapt Code from Java's
> > toLowerCase/toUpperCase, which is locale-dependant?
>
> Sure, but that doesn't change the fact that the spec itself doesn't
> provide facilities for case rolling. To provide it where the spec
> doesn't define it will brea
This is a Java issue, I believe. You can specify the proxy settings
through system properties like http.proxyHost and http.proxyPort. For
example:
http://www.ibiblio.org/javafaq/javafaq.html#proxy
For authentication, you'll need to implement an Authenticator and set
it as the default using
31 matches
Mail list logo