Search found 22 matches

by sampablokuper
Tue Jan 13, 2009 7:24 pm
Forum: Common Problems
Topic: Multiline find/replace broken in 9.3?
Replies: 2
Views: 2133

Re: Multiline find/replace broken in 9.3?

Ah, ok, I was thinking that dots matched newlines. Thanks for the clarification!
by sampablokuper
Tue Jan 13, 2009 4:51 pm
Forum: Common Problems
Topic: Multiline find/replace broken in 9.3?
Replies: 2
Views: 2133

Multiline find/replace broken in 9.3?

Hi there, I'm mid-way through editing an XHTML document with oXygen 9.3. I've included an excerpt of that document below for illustration. I want to find blocks between pairs of " entities, and to replace those entities with strings conforming to the q tag fix described at A List Apart . For th...
by sampablokuper
Thu Jan 08, 2009 6:43 pm
Forum: General XML Questions
Topic: Why do I get errors for multiple @xmlns on /html element?
Replies: 20
Views: 41836

Re: Why do I get errors for multiple @xmlns on /html element?

Readers of this forum may also wish to view the mailing list thread on the issue, which begins here.
by sampablokuper
Thu Jan 08, 2009 3:58 pm
Forum: General XML Questions
Topic: Why do I get errors for multiple @xmlns on /html element?
Replies: 20
Views: 41836

Re: Why do I get errors for multiple @xmlns on /html element?

Please note that oXygen version 10 includes a licensed Saxon SA so you can use that from oXygen without the need for an additional license. I'm still using 9.3, but I'll look into getting a license for 10. Thanks for the tip. What you can do however is to use an XML catalog and map the DTD to a loc...
by sampablokuper
Mon Jan 05, 2009 3:44 pm
Forum: General XML Questions
Topic: Why do I get errors for multiple @xmlns on /html element?
Replies: 20
Views: 41836

Re: Why do I get errors for multiple @xmlns on /html element?

The W3C Validator is an application. That tries to detect automatically the document type and in some cases it fails. But you have the option to specifically test a document against a document type that you choose, just click on More Options and then select in the Use Doctype combo box XHTML+RDFa. ...
by sampablokuper
Mon Jan 05, 2009 9:02 am
Forum: General XML Questions
Topic: Why do I get errors for multiple @xmlns on /html element?
Replies: 20
Views: 41836

Re: Why do I get errors for multiple @xmlns on /html element?

George wrote: If you have both a DTD specified and a schema oXygen will validate by default against the schema. That can be controlled from Options->Preferences -- XML / XML Parser -- XML Parser Properties -- "Ignore the DTD for validation if a schema is specified". However, the DTD is sti...
by sampablokuper
Mon Jan 05, 2009 8:25 am
Forum: General XML Questions
Topic: Why do I get errors for multiple @xmlns on /html element?
Replies: 20
Views: 41836

Re: Why do I get errors for multiple @xmlns on /html element?

Hmm, I just noticed that opening http://www.w3.org/MarkUp/SCHEMA/xhtml-rdfa-1.xsd in Oxygen lists a lot of errors along the lines "src-resolve: Cannot resolve the name 'xhtml.dir.attrib' to a(n) 'attribute group' component." Could this (i.e. faults in http://www.w3.org/MarkUp/SCHEMA/xhtml-...
by sampablokuper
Mon Jan 05, 2009 7:31 am
Forum: General XML Questions
Topic: Why do I get errors for multiple @xmlns on /html element?
Replies: 20
Views: 41836

Re: Why do I get errors for multiple @xmlns on /html element?

It seems to be impossible to satisfy both the W3C validator and Oxygen's validator. If the doctype is left in, Oxygen declares the document invalid (see Aliman's post) with the error, "Attribute 'xml:space' is not allowed to appear in element 'script'." But if I apply the workaround you su...
by sampablokuper
Mon Oct 20, 2008 1:51 pm
Forum: Other Issues
Topic: "Format and Indent" damages markup
Replies: 3
Views: 4049

Re: "Format and Indent" damages markup

Hi folks, I've been using Options->Preferences -- Editor -- Format -- XML to change the Preserve space elements list, as George suggested, and although it helps somewhat, I find it creates a different problem: the contents of elements added to this list no longer wrap, so I end up with unreadably lo...
by sampablokuper
Wed Sep 24, 2008 5:09 pm
Forum: Other Issues
Topic: "Format and Indent" damages markup
Replies: 3
Views: 4049

Re: "Format and Indent" damages markup

Thanks, George :)
by sampablokuper
Wed Sep 24, 2008 4:27 pm
Forum: Other Issues
Topic: "Format and Indent" damages markup
Replies: 3
Views: 4049

"Format and Indent" damages markup

Suppose I have the following code in a <p> element in an XHTML document: ... blah blah, <a href="a_long_url_linking_to_my_source"><cite>Title of the source I'm citing</cite></a>, blah blah ... If I use Oxygen's "Format and Indent" function, it ends up as: ... blah blah, <a href=&...
by sampablokuper
Thu Sep 18, 2008 3:39 pm
Forum: General XML Questions
Topic: Extracting data from an XHTML file with XQuery
Replies: 2
Views: 3335

Re: Extracting data from an XHTML file with XQuery

Hi Sorin,

Thanks for your help! That's fixed it for me :D

Sam
by sampablokuper
Thu Sep 18, 2008 2:41 pm
Forum: General XML Questions
Topic: Extracting data from an XHTML file with XQuery
Replies: 2
Views: 3335

Extracting data from an XHTML file with XQuery

Hi all, I have an XHTML document as follows: <!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Foo</title> </head> <body>Bar</body> </html> which I call index.html . I also have the following...
by sampablokuper
Tue Sep 16, 2008 5:28 pm
Forum: General XML Questions
Topic: Why do I get errors for multiple @xmlns on /html element?
Replies: 20
Views: 41836

Re: Why do I get errors for multiple @xmlns on /html element?

I would go with a schema (XML Schema or Relax NG) simply because DTDs are not namespace aware and the RDFa needs namespaces. Thanks George, In addition to your suggestion above, I found that the DTD version didn't render properly in all browsers. XSD version it is, then! (NB. I haven't tried Relax ...
by sampablokuper
Tue Sep 16, 2008 1:32 pm
Forum: General XML Questions
Topic: Why do I get errors for multiple @xmlns on /html element?
Replies: 20
Views: 41836

Re: Why do I get errors for multiple @xmlns on /html element?

Dear George, Thanks for your reply. This is extremely helpful! :D The only issue I'm now faced with - and it's a nice problem to have! - is that I'm now spoiled for choice! :) If you or anyone else has any thoughts about the pros and cons of the two valid methods, I'd be grateful to know them. Many ...
by sampablokuper
Mon Sep 15, 2008 3:57 pm
Forum: General XML Questions
Topic: Why do I get errors for multiple @xmlns on /html element?
Replies: 20
Views: 41836

Re: Why do I get errors for multiple @xmlns on /html element?

Dear Sorin, Thanks for your quick reply. It seems that Oxygen's validator works differently to the W3C's validator. For instance, the following RDFa document (copied from Wikipedia ): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//E...
by sampablokuper
Fri Sep 12, 2008 6:28 pm
Forum: General XML Questions
Topic: Why do I get errors for multiple @xmlns on /html element?
Replies: 20
Views: 41836

Re: Why do I get errors for multiple @xmlns on /html element?

I'm getting similar errors. Here are the first few lines of my document: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-s...
by sampablokuper
Fri Jul 04, 2008 1:19 pm
Forum: Common Problems
Topic: Error: "The transformer Saxon9B XQuery is not available"
Replies: 3
Views: 2273

Re: Error: "The transformer Saxon9B XQuery is not available"

Interesting. I just pressed the "Restore Defaults" in the Preferences dialog under XML / XSLT-FO-XQuery / XQuery" and now XQuery validation is working again. The strange thing is, I don't recall altering the XQuery settings at any point. Still, regardless of what caused the glitch, th...
by sampablokuper
Fri Jul 04, 2008 12:51 pm
Forum: Common Problems
Topic: Error: "The transformer Saxon9B XQuery is not available"
Replies: 3
Views: 2273

Re: Error: "The transformer Saxon9B XQuery is not available"

What was the number of the older version of Oxygen in which you set the Saxon9B XQuery in a scenario? Can you send us a zip archive with your Oxygen preferences folder (on Windows C:\Documents and Settings\[user-name]\Application Data\com.oxygenxml)? Dear Sorin, Thanks for your reply. My previous a...
by sampablokuper
Thu Jul 03, 2008 6:59 pm
Forum: Common Problems
Topic: Error: "The transformer Saxon9B XQuery is not available"
Replies: 3
Views: 2273

Error: "The transformer Saxon9B XQuery is not available"

Dear all, I'm constructing an XQuery in oXygen, and I've just hit a snag. When I attempt to validate the XQuery, I get the error: "The transformer Saxon9B XQuery is not available anymore. Please reconfigure the transformation scenario." I haven't come across this problem before when using ...
by sampablokuper
Tue Apr 08, 2008 3:23 pm
Forum: Common Problems
Topic: "Format and indent" command introduces javascript errors
Replies: 3
Views: 3744

Re: "Format and indent" command introduces javascript errors

sorin wrote: Thank you for reporting this problem. We will fix it in the next version of oXygen.

I think there is no other workaround. You should put the JavaScript code in a CDATA block.
Dear Sorin,

Thanks for the quick reply and the advice. I'll use CDATA for the time being.

All best,

Sam
by sampablokuper
Tue Apr 08, 2008 2:04 pm
Forum: Common Problems
Topic: "Format and indent" command introduces javascript errors
Replies: 3
Views: 3744

"Format and indent" command introduces javascript errors

I'm having the difficulty that the "Format and indent" command sometimes alters javascript in a way that breaks the functionality of the code. Suppose my document is something like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DT...